When the Sun heats the ground surface, the ground heats the air. This air rises and cools. When it cools to the dew point, clouds form and rain follows. This type of rainfall often causes summer showers and thunderstorms.