<human>:  What causes a thunderstorm?
<bot>: A thunderstorm is caused by a combination of warm, moist air and a shifting of wind currents in the atmosphere. When these two elements mix, the warmer air rapidly rises and cools as it reaches higher altitudes, and this causes thunder, lightning, and heavy rain.