Rainfall is the result of water vapor condensing and precipitating, forming droplets that fall from clouds due to gravity. It…