What causes leaves to turn from green to yellow and red in autumn?

During the summer months, leaves are green due to a pigment called chlorophyll.

When fall starts, the chlorophyll starts to break down and other pigments become dominant. The yellow color is due xanthophylls, and the red color is due to anthocyanins.