Here's the chemical equation:
O₂ + UV light → 2O
The UV light provides the energy needed to break the bond between the two oxygen atoms.
Note: The oxygen atoms produced are very reactive and can then participate in other chemical reactions, such as the formation of ozone (O₃).