The process by which food is prepared in leaves is called
Photosynthesis
Photosynthesis is a process used by plants in which energy from sunlight is used to convert carbon dioxide and water into glucose in the presence of chlorophyll. Oxygen is released as a by-product in the process.