Working of a Lighter
It works on the principle of Piezo-electric effect.
When we start pushing the push button, it presses the hammer and spring assembly to move in the telescopic shaped plastic casing.
This force is enough for the crystal to generate a spark.
Now, this spark falls on the gas and lights the air-gas mixture.