Fact 1: Fungi lack chlorophyll, so they cannot make food by photosynthesis as plants can. 
Fact 2: All plants require sunlight, carbon dioxide, and water for photosynthesis.
fungi cannot make food with sunlight.