Lightning formation refers to the process by which electric discharges occur between clouds or between a cloud and the ground, creating bright flashes of light. This phenomenon is primarily caused by charge separation within storm clouds, which leads to a buildup of electric potential and ultimately results in a sudden release of energy. Understanding lightning formation helps explain how atmospheric conditions contribute to this spectacular natural event.