When the Sum warms the Earth, warm air rises into the atmosphere. As it rises, it expands and cools. Water vapor condenses out of the cool air to form a cloud.
Image Courtesy of CMMAP