Green leaves of summer are ablaze in scarlet, crimson and gold, as trees and shrubs begin to wind-down for winter. Through photosynthesis, these mini food factories provided an essential service in turning water and carbon dioxide into sugars for their host. But their job duties do not end there. Leaves take on a new role in the winter. These brown leafy blankets protect pupating caterpillars and provide habitat for moths and butterflies.