Photosynthesis is a process by which phototrophs convert light energy into chemical energy, which is later used to fuel cellular activities. The chemical energy is stored in the form of sugars, which are created from water and carbon dioxide.
Non-green plants cannot make their own food because they do not have chlorophyll in their leaves which breaks down carbon dioxide and water molecules thus do not produce glucose(food).