Lightning is a bright flash of static electricity produced by a thunderstorm, forming when negative charges in clouds build up and are attracted to positive charges in other clouds or the ground. The LIP instrument measures lightning using a skilled operator. Lightning forms by the build up of negative charges in clouds attracted to positive charges elsewhere.