How do plants get their energy

They use photosynthesis and turn the sunlight into glucose as food