
It is caused by certain gases in the atmosphere trapping infra-red radiation from the sun. Incoming sunlight passes through the atmosphere relatively easily, whereupon it warms the surface of the earth, thus losing energy. Heat energy of lower energy, is reflected back and is absorbed by molecules of greenhouse gases. These molecules then have extra energy, causing vibrations of the chemical bonds. This excess energy is then dissipated in all directions causing the atmosphere, and therefore the planet, to warm up.
The presence of ozone in the stratosphere is essential to life, filtering out harmful ultraviolet light from the incoming solar radiation.
However, if the ozone layer is depleted, and global warming continues, it could harm the environment as the earth becomes too hot and the ice in the atlantic would melt and ultimately 'drown' Earth.
Therefore we should all help to protect the environment and reduce causing harm to the Ozone such as CFCs. Together, we can make Earth a better place.