It makes the Earth livable for us creatures. We get protected from the Sun's harmful rays reaching to Earth, which makes Earth feel comfortable. Atmosphere also contains Oxygen and we rely on that everyday.
Water is the universal solvent; a solvent is what does the dissolving. The corn syrup would be the solute, in other words what gets dissolved.