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.
Plants are the autotrophs in their ecosystems thanks to their photosynthesizing superpowers — they convert about 60 billion tons of carbon per year to produce sugars, mostly to fuel their own processes.