sun warms the earths surface, which warms overlying air.
warm air expands becoming less dense and rises.
rising air begins to cool, reducing its ability to hold moisture.
water vapour condenses as air reaches saturation and dew point.
condenses around condensation nuclei - clouds form - rainfall