For one thing, plant cells contain chloroplasts, which are organelles that convert carbon dioxide gas from the air into sugars using energy from the Sun — AKA, photosynthesis.
Structures in their cell membrane could harness the energy from sunlight to turn carbon dioxide and water into oxygen gas and sugars, which they could use for energy.