Lightning is an atmospheric discharge of electricity, which typically occurs during thunderstorms.