Lightning is an electrostatic discharge that occurs typically during thunderstorms and can happen within clouds, between clouds, or from clouds to the ground. There are various types of lightning, including intracloud, cloud-to-cloud, and cloud-to-ground, with the latter classified into negative and positive types. Different forms of lightning, such as streak, forked, ribbon, bead, sheet, and heat lightning, exhibit distinct visual characteristics.