The Ozone layer which is present in the Earth's atmosphere protects it by restricting from UV or Ultraviolet radiation, the dangerous rays contained by Sun.
Water at ordinary temperatures contracts and increases in density as it is cooled, like most substances. But at about 4°C it reaches a maximum density and then decreases in density as it approaches the freezing point.