How precipitation occur and what determines the type of precipitation that falls to earth?

when liquid in lakes or something evaporates and goes into our atmosphere were the water vapour comes together With dust (to see the cloud) called condensation after enough comes together it rains. now for what type theres only two really that's normal nice rain and acid rain were carbon dioxide makes the water acidic and burns stuff kinda.