Sunlight, air and water go in. Sugar β and the oxygen you're breathing right now β come out. Here's how a leaf cooks.
Step inside the leafThink of a leaf as a tiny solar-powered kitchen. It takes in sunlight, carbon dioxide from the air and water from the soil β and cooks them into sugar, the plant's own food. The leftover bit? Oxygen, puffed back out into the air for you to breathe.
This recipe is called photosynthesis β "photo" means light, "synthesis" means putting things together, so the word literally means "putting things together with light." It runs silently inside almost every green leaf on Earth, and it quietly powers nearly all life there is.
Here's the part most people never stop to notice: this is the only place the food in your day actually comes from. A plant can build its own meal out of sunshine and air. You can't, and neither can a tiger or a whale β we all have to eat something that traces back to a leaf. By the end of this page you'll have driven that kitchen yourself, peeked inside a leaf, found out why leaves are green, and seen what changes when the sun goes down.
Every recipe is just "ingredients β meal." Photosynthesis is no different. Here it is, written the way a leaf actually cooks β ingredients on the left, finished food on the right, and the spark that makes it happen sitting on the arrow.
Read it left to right: two ingredients go in, sunlight powers the cooking, and two things come out.
Scientists write this with chemical symbols, but you don't need those to understand it. You just need to know what each word means and which side of the arrow it's on. Greens go in; golds come out.
A gas that's floating around in the air everywhere β it's the gas you breathe out, and the same gas that pours from cars and chimneys. The leaf drinks it straight from the air.
Plain water, the same kind you drink. The plant's roots sip it out of the damp soil and pump it all the way up to the leaves.
Not an ingredient you can hold β it's the energy that powers the whole thing, like the flame under a frying pan. No light, no cooking.
The finished food. Its proper name is glucose. This is what the plant eats to grow β and what it stores away for later, like a packed lunch.
The leftover. The leaf doesn't need it, so it lets it slip out into the air β and that's the gas you pull into your lungs. One creature's scrap is another's life.
Keep that little line in your head. Everything else on this page is just a closer look at one of those words β where the cooking happens, why it sometimes runs fast and sometimes slow, and where each output ends up.
This leaf is alive. Drag the sunlight slider and the water slider and watch the kitchen react. Carbon dioxide and water flow in; sugar and oxygen flow out. Slide the sun all the way down to night β or dry up the water β and watch everything slow to a stop.
A sunny, well-watered day β carbon dioxide and water rush in, sugar and oxygen pour out.
Try this: turn the sun up to full but drag the water down to almost nothing. Notice how the kitchen still crawls? Bright sun can't help a leaf that has run out of water. That's a sneak peek at a big idea we'll come back to: a leaf can only cook as fast as its scarcest ingredient allows. Now turn the water back up and slide the sun down to night β the whole leaf freezes. No light, no cooking.
The kitchen isn't the whole leaf β it's a stack of tinier and tinier rooms inside it. Let's shrink down and look. Don't worry, we'll stop well before things get too small to picture.
From a leaf, to its cells, to one green chloroplast β the actual little oven where sugar is cooked.
So a leaf isn't one big cooker. It's packed with millions of microscopic boxes called cells, and inside many of those cells float tiny green packets called chloroplasts β picture rice-grain-shaped lunchboxes, or teeny solar panels. There can be dozens of them in a single cell. That's where the cooking actually happens.
Flat and wide on purpose, so it catches as much sunlight as possible, like a satellite dish pointed at the sun. Most leaves are thin so light can reach the cells inside.
The green packets inside the cells. This is where sunlight, carbon dioxide and water are brought together and turned into sugar. Cram a leaf with these and you've got a busy kitchen.
The green pigment (a colour-giving substance) packed inside the chloroplasts. Its one job is to catch sunlight and hand its energy to the cooking. It's also the reason leaves are green β more on that next.
Thousands of microscopic pores, mostly on the underside of the leaf. Carbon dioxide sneaks in through them and oxygen drifts out. They open in daylight and can close to stop the leaf drying out β a clever little trade-off.
Four words, four rooms: leaf, chloroplast, chlorophyll, stomata. You don't need to go any smaller than this to understand the whole story.
Here's a question that sounds simple but has a surprising answer. Sunlight looks white, but it's secretly all the colours of the rainbow mixed together. Chlorophyll is picky: it drinks some colours greedily and bounces others away. Shine different colours on this leaf and watch how much energy it can actually use.
Shining white sunlight: the leaf keeps the reds and blues and bounces the green back.
Did you spot the twist? Under green light the leaf looks bright and lovely β but the energy bar barely moves. That's because chlorophyll throws green light away. The colour you see when you look at a leaf is the one colour it has decided it doesn't want. A leaf looks green precisely because it can't use green.
Under red and blue light it's the opposite: the leaf looks dark, almost dingy, because it's soaking nearly all of that light up β and inside, the kitchen is roaring. So the dull-looking leaf is the hungry, hard-working one.
Big ideas feel real when you ride along with one tiny piece. So let's follow one water molecule from a damp patch of soil all the way into a sugar β and watch where its oxygen ends up.
Our water molecule sits in the wet soil. The plant's roots soak it up, and it rides a long plumbing tube all the way up the stem to a leaf β like a sip travelling up a straw.
Inside a chloroplast, chlorophyll has just caught a beam of sunlight. That trapped sunlight is the energy that lets our water molecule react with a carbon dioxide molecule that drifted in through a stoma a moment ago.
Here's the clever bit: the atoms get taken apart and snapped back together in a new shape. The carbon and some of the other bits join up to build glucose β a sugar β which is the plant's food and the energy it stores to grow.
The leftover oxygen isn't needed, so it slips back out through a stoma into the air. That stray oxygen is the very gas you pull into your lungs. The water you started with helped build a plant's lunch and your next breath.
Nothing is wasted and nothing appears from nowhere β the atoms just get rearranged. That's the quiet trick behind every salad, every forest and every breath.
Imagine you're baking cookies. You've got 12 eggs and a hundred chocolate chips β but only one cup of flour. How many batches can you make? Just as much as that one cup of flour allows. All those extra eggs sit there, useless. The flour is your limiting factor: the ingredient that runs out first and sets the whole pace.
Photosynthesis works exactly the same way. You felt it in the demo: pour on bright sun, but if the water is gone, the leaf still crawls. Give it loads of water, but at night nothing happens. The leaf can only cook as fast as its scarcest ingredient lets it. Four things usually do the limiting:
The energy source. More light means faster cooking β up to a point, after which the leaf simply can't keep up and extra light goes to waste. In deep shade or at night, it's the thing holding everything back.
One of the two ingredients, breathed in from the air. There isn't much of it floating around, so on a bright day a leaf can easily run short of COβ before it runs short of light.
The other ingredient. If the soil dries out, the roots can't deliver β and to stop drying out further, the leaf may even close its stomata, which also shuts off the COβ. A double slowdown.
The leaf's microscopic tools work best when it's pleasantly warm β not freezing, not scorching. Too cold and everything is sluggish; too hot and the tiny tools start to break. There's a comfy middle.
This is why a fern in a dark forest grows slowly, why farmers water their fields, and why a greenhouse β warm, bright and sometimes pumped full of extra carbon dioxide β can grow tomatoes twice as fast. Remove the bottleneck, and the kitchen speeds up.
Here's something that trips a lot of people up. Photosynthesis is how a plant makes food, but a plant also has to burn that food to live and grow β and burning food needs oxygen, just like it does for you. That second process is called respiration, and it never stops, day or night. Flip the switch and watch which gases go in and out.
Daytime: photosynthesis runs so fast it hides the plant's breathing. Net flow β carbon dioxide in, oxygen out.
In daylight the plant is doing both jobs at once: making food (photosynthesis) and burning a little of it (respiration). But photosynthesis is going so much faster that, on balance, the leaf takes in carbon dioxide and breathes out oxygen. The breathing is there β it's just drowned out.
At night the sun is gone, so photosynthesis switches off completely. The cooking stops. But the plant is still alive, so respiration carries on quietly in the dark β now the plant takes in a little oxygen and gives off a little carbon dioxide, exactly like you do while you sleep.
Quick gut-check: a tiny seed grows into a tree taller than a house. Where did all that stuff β the trunk, the branches, the thousands of leaves β come from? Most people guess the soil. It feels obvious: the plant sits in dirt, the dirt must be its food, the pot should slowly empty out as the tree fills in.
It's a brilliant guess. It's also wrong β and the truth is far stranger.
"A plant grows by eating the soil. The bigger the plant gets, the more dirt disappears from the pot."
Most of a plant's solid body is built from carbon pulled out of the air (from carbon dioxide) joined with water, using the energy of sunlight. A tree is, astonishingly, mostly made of air and water.
About four hundred years ago a curious scientist decided to actually test this. He weighed a small willow sapling, planted it in a pot of carefully weighed, dried soil, and gave it nothing but water for years. When he finally weighed everything again, the tree had gained dozens of kilograms β yet the soil had lost only a few spoonfuls. The mass clearly hadn't come from the dirt. (He guessed it came from the water; today we know it's mostly the carbon in the air, plus water β but his experiment was spot on that the soil wasn't the answer.)
So what is the soil for? Two things: it's the reservoir the roots drink water from, and it holds a pinch of minerals β think of those like vitamins, needed in tiny amounts to keep the plant healthy. Important, yes. But the actual bulk of the plant, the part that makes it big and heavy, was quietly assembled from sunlight and thin air. Next time you see a giant oak, remember: most of it floated in as gas.
Take a slow breath. Roughly one in every five gas molecules you just breathed in is oxygen β and almost all of it was breathed out by a plant, an alga, or a tiny living thing doing photosynthesis. Forests and the ocean's microscopic drifters have been topping up Earth's oxygen for billions of years. Before they got going, there was barely any oxygen in the air at all.
It feeds you, too. When you eat an apple, a bowl of rice, or a carrot, you're eating sugar that a plant cooked from sunlight. Even a burger traces back to grass: the cow ate plants, and the plants ran on sunlight. Follow almost any meal backwards and you arrive at a leaf. That chain β sun to plant to animal to you β is called a food chain, and photosynthesis is the link that starts nearly every one.
And here's a twist that connects straight to the news. The coal, oil and gas we burn for electricity and cars are ancient sunlight. Hundreds of millions of years ago, plants and ocean plankton did photosynthesis, stored sunlight as sugar, then died and got buried and squeezed underground for ages. We're now digging that up and burning it β releasing energy the sun delivered before the dinosaurs, along with all the old carbon dioxide that came with it. That released carbon dioxide is the main driver of climate change. Photosynthesis once pulled that carbon out of the air; burning fossil fuels puts it back, far faster than today's plants can re-capture it.
So this isn't just something that happens to plants. It built the air in your lungs, it sets the table for nearly every meal on Earth, and it's woven right through the biggest question of your generation. It's the slow, silent engine under the whole living world β including you.
Seven fast questions about the leaf's kitchen. Friendly hints if you miss one β no marks lost, this is just for you.
Which gas does a leaf take IN from the air to make sugar?
Tap the answer you think is right.
A leaf is a solar kitchen β and once you've watched it cook, you'll never see a plant the same way again.
The leaf takes in sunlight, carbon dioxide from the air, and water drawn up from the soil by the roots.
Inside green chloroplasts, chlorophyll catches the sunlight and uses its energy to rebuild those pieces into sugar.
Sugar feeds the plant; leftover oxygen floats out β feeding food chains and filling your lungs.