Answer:
Lightning is formed when there is a buildup of electrical energy in the atmosphere.
Step-by-step explanation:
Formation of storm clouds: Lightning is most commonly associated with thunderstorms. These storms occur when warm, moist air rises and cools, forming cumulonimbus clouds. Separation of charges: Within these storm clouds, strong updrafts and downdrafts cause ice crystals and water droplets to collide. This collision results in the separation of positive and negative charges within the cloud.