When the Sun heats the Earth's surface, the ground heats the air above it. Convection makes the air rise and cool. When it cools to the dew point, clouds form and rain follows.This usually occurs on flat land. This type of rainfall often causes summer showers and thunderstorms.