It rains or snows outside (precipitation) Water that forms from a mixture of heat and cold (condensation) The sun heats up the water and it turns to vapors and goes into the air (Evaporation)
In earth, there are alot of plants which release oxygen into the atmosphere as a waste product compared to venus where there are no trees. and if the earth was cliser to the sun all our oceans will dry up