Clouds form when water vapor in the air condenses into tiny water droplets or ice crystals. This process occurs when warm, moist air rises and cools, causing the water vapor to reach its dew point and form visible clouds. Various factors like temperature, humidity, and air pressure play a role in cloud formation.