Photochlorination is one of the largest implementations of photochemistry to organic synthesis. The photon is however not absorbed by the organic compound, but by chlorine.  Photolysis of Cl gives chlorine atoms, which abstract H atoms from hydrocarbons, leading to chlorination.