What do trees need in order to make food?

Trees are plants, so it has plant cells that have chloroplast in them which turn sunlight into energy in a process called photosynthesis.