What is the chemistry behind fruit spoilage?

I want to know if UV light from the sun (specifically UVA and UVB), affects fruits. How does it cause fruit to spoil? I need the chemistry behind these reactions. What effect does UV light from the sun, have on the chemical content on fruit - which subsequently causes it to spoil/become discoloured?
2 answers 2