Precipitation occurs in solid or liquid forms when water vapor condenses and falls from clouds to the ground. The main types of precipitation are snow, hail, and rain. Snow forms when water vapor sublimates directly to snowflakes below freezing. Hail forms when water droplets are carried to high altitudes by updrafts and freeze into layers around a snow or ice core. Rain forms through condensation and falling water droplets. Precipitation affects ecosystems, economies, and transportation.