Lightning is an atmospheric discharge of electricity, which typically occurs during thunderstorms, and sometimes during volcanic eruptions or dust storms.