O2 is oxygen gas, which composes 21% of Earth's atmosphere and is essential for life. O3 is ozone, a molecule that contains three oxygen atoms. Ozone is found in the Earth's stratosphere and protects life by absorbing harmful ultraviolet radiation from the sun.