Lightning is a visible electrical discharge from a cloud. This happens when there is an imbalance of charges between a region of the cloud and another surface (usually the ground, a building, another region of the same cloud, or another cloud) that is significant enough to break through air resistance.