Mission 2 · Science + Coding

Why do apples turn brown?

This mission turns a kitchen mystery into an investigation with a real apple, some clues about enzymes and oxygen, and a tiny coding challenge.

Middle school – early high school 25–35 minutes
Science ★★★★☆ Coding ★☆☆☆☆
Mission progress Step 1 of 22

🔬 Ready to investigate?

Here's what you'll walk away understanding by the end of this mission:

  • 🍃 Explain why cutting an apple changes what happens inside its cells.
  • 🍃 Understand that enzymes help chemical reactions happen faster.
  • 🍃 Understand the role of oxygen in the browning of apples.
  • 🍃 Explain what oxidation means in a simple chemical context.
  • 🍃 Understand how changing an environment can affect an enzyme's activity.
  • 🍃 Explain why lemon juice can slow down the browning process.
  • 🍃 Use an if statement to represent a simple scientific condition.
  • 🍃 Connect observations from a real experiment to a simple computer model.

🍹️ What you'll need: an apple (cut in half partway through), and optionally a lemon.

Step 1

🍎 A fresh apple

Imagine you cut an apple in half.

The inside is pale, crisp, and almost white.

You leave it sitting on the table. You come back a few minutes later...

What do you think happened?

Step 2

Become a food scientist

Get a small piece of apple. You can use:

Place the apple somewhere you can observe it for the next several minutes. Don't eat it yet! We're going to see what happens when the inside of an apple is exposed to the environment.

Question 1

What do you think the apple will look like after 5 minutes?

Question 2

What do you think causes the apple to turn brown?

Step 3

👀 Watch the apple

Now leave your apple sitting out while we investigate what is happening inside it. Take a close look at your apple.

Observation 1 · Right now

What does the apple look like right now? Describe its color, its texture, which parts are exposed, and anything else you notice.

Leave the apple sitting out — we'll come back to observe it again a little later.

Think about it

The inside of the apple was not brown when it was inside the apple. So what changed when we cut it? Something from the environment was suddenly able to reach the inside of the apple. What could that be?

🌬️ Air.

Step 4

🔪 Cells get exposed

An apple may look like one solid object, but it is actually made of millions of cells.

When the apple is intact, many of the molecules inside those cells are separated from the outside environment.

When you cut the apple, you break open many cells. Suddenly, molecules that were separated inside the cells can come into contact with molecules in the air — especially one important molecule:

Oxygen (O₂)

This gives us our first major clue.

PPO polyphenol O₂

Sealed inside the cell, the enzyme and its target molecule never touch. Cut the apple, and the seal breaks — O₂ from the air moves in, and the enzyme and its target end up side by side.

Make a prediction: do you think an apple would brown faster or slower if we could prevent oxygen from reaching the cut surface?

Step 5

🧪 What is an enzyme?

Inside living cells, thousands of different chemical reactions are happening.

But many of these reactions would happen too slowly on their own.

Cells use special proteins called enzymes to help chemical reactions happen faster. Think of an enzyme as a tiny molecular helper. An enzyme doesn't usually get used up in the reaction — instead, it helps the reaction happen more easily.

PPO polyphenol brown pigment

The enzyme's shape lets one specific molecule fit, like a puzzle piece. The reaction happens, a new molecule is released — and the enzyme comes out unchanged, ready to do it again.

Different enzymes help with different reactions. Apples contain an enzyme that is important for browning:

Polyphenol oxidase (PPO)

Step 6

🧪 The browning reaction

When you cut an apple, cells are damaged and their contents become mixed together. The enzyme polyphenol oxidase (PPO) can now interact with molecules called polyphenols.

When oxygen is also present, a series of chemical reactions occurs. These reactions produce new compounds that eventually form brown-colored pigments.

fresh cut browned

Cut → enzyme, target molecule, and O₂ come together → the color deepens over time. Each step depends on the one before it — break the chain anywhere, and the apple stays paler for longer.

Step 7

👀 Check on your apple

While you were learning about enzymes, oxygen, and the browning reaction, your apple has been sitting out the whole time. Go take another look at it.

Observation 2 · A few minutes later

Look at the apple again. Do you notice any changes?

Question

Where do you notice the browning?

Step 8

🌬️ What is oxidation?

You may have heard the word oxidation before.

In everyday life, oxidation often involves a substance reacting with oxygen. For example, iron can react with oxygen and form rust. Apples can also undergo oxidation.

In chemistry

Oxidation is a chemical process involving the loss of electrons. You don't need to memorize the electron details for this mission — for now, remember: oxidation = a chemical change involving electron transfer. In a cut apple, oxygen participates in a series of reactions that ultimately contribute to the formation of brown compounds.

✅ Quick check

Which molecule from the air is important for the browning reaction?

What helps the chemical reactions involved in browning happen faster?

What is the enzyme involved in apple browning called?

Step 9

Why doesn't the apple brown before we cut it?

Think back to the beginning of the mission. The inside of a whole apple is usually not brown.

But after we cut it, browning begins. Why?

Before cutting, the apple's cells keep many of their molecules separated from one another. The enzyme and its substrates are kept in different parts of the cell.

When the cells are damaged, the barriers between them are broken. Now the enzyme can interact with molecules it couldn't easily reach before — and the cut surface is exposed to oxygen from the air.

Think about it

Cutting the apple doesn't create the enzyme — the enzyme was already there. Cutting the apple changes the environment so that the reaction can happen.

Step 10

🔬 Can we slow down the browning?

Now let's become experimental scientists. Imagine you have three identical apple slices.

🍎💨

Apple A — left sitting in the open air.

🍎📦

Apple B — cut surface covered so less air can reach it.

🍎🍋

Apple C — lemon juice on the cut surface.

Which apple do you think will turn brown the fastest?

Which apple do you think will turn brown the slowest?

Step 11

🍋 The lemon juice clue

You may have noticed that lemon juice is often used to keep cut fruit from turning brown. Why?

Lemon juice contains citric acid, which makes it acidic. That changes the chemical environment around the enzyme.

Enzymes work best under particular conditions. Changes in things like:

...can all change how well an enzyme works. If the conditions are unfavorable for an enzyme, the reaction it helps carry out can slow down. So lemon juice can help slow the reactions involved in browning.

Important idea

The lemon juice isn't simply "washing the brown color away." It is changing the chemical conditions around the reaction.

Step 12

🧪 A little more about pH

You may have heard people describe lemons as acidic. But what does that actually mean?

When certain substances dissolve in water, they can affect the amount of hydrogen ions (H⁺) in the solution.

Acids increase the concentration of hydrogen ions, and are often what make foods taste sour — both lemon juice and vinegar have a low pH. Bases, on the other hand, have a low concentration of hydrogen ions, and are often associated with a bitter taste, like baking soda.

The pH scale describes how acidic or basic a solution is, usually ranging from about 0 to 14:

🍋 Lemon juicepH ~2 · acidic
💧 Pure waterpH ~7 · neutral
🧂 Baking sodapH ~9 · basic
Step 13

🌡️ Why pH matters to enzymes

Remember that enzymes are proteins that help chemical reactions happen faster.

But enzymes don't work equally well under every condition. An enzyme has a particular shape, and that shape helps it interact with the molecules involved in a reaction.

Changing the environment around an enzyme — including changing the pH — can affect the shape and behavior of the enzyme. If conditions become very different from what the enzyme normally prefers, the enzyme may work less effectively.

🍋 So what does lemon juice do?

Lemon juice contains acids such as citric acid, which gives it a low pH. When lemon juice is added to a cut apple, it changes the chemical environment around the enzymes involved in browning, slowing the reactions that produce brown pigments. Lemon juice doesn't wash away the brown color — it changes the conditions under which the chemical reaction is happening.

Step 14

✅ pH quick check

Which has a lower pH?

Which is more acidic?

What can happen when the pH around an enzyme changes?

Think about it — if lemon juice changes the pH around the enzyme, and the enzyme's activity changes, what do you predict will happen to the rate of apple browning?

Step 15

🧪 Solve the mystery

Let's put all of our clues together. Why does an apple turn brown?

🍎 The apple turns brown.

So the browning isn't simply the apple "getting old." It is the result of a series of chemical reactions happening inside damaged plant tissue.

Step 16

💻 Code it

We've just learned that the apple behaves differently depending on its environment. For example:

Computers can also make decisions based on conditions. Before we run our model, let's learn one new coding idea.

No typing required

You won't need to write any code from scratch. We'll read it together, predict what it does, then run it.

Step 17

❓ What is an if statement?

Sometimes a computer needs to make a decision.

An if statement tells the computer: "If this condition is true, do something. Otherwise, do something else."

PythonPython
oxygen = True

if oxygen:
    print("The apple begins to brown!")
else:
    print("The apple stays fresh.")

The computer checks: is oxygen true? Since it is, the computer runs the if branch and prints the first message. If oxygen were False instead, it would run the else branch instead.

Step 18

👀 Read the code

Now let's model all three of our apple slices at once — Apple A (air, no lemon juice), Apple B (no oxygen), and Apple C (lemon juice). Our code will check both conditions and decide which message to print.

PythonPython
oxygen = True
lemon_juice = False

if lemon_juice:
    print("The apple browns slowly.")
elif oxygen:
    print("The apple browns quickly!")
else:
    print("The apple stays fresh.")

Before you run it — let's read it line by line.

oxygen = True lemon_juice = False

This represents Apple A: air can reach the cut surface, and there's no lemon juice on it yet.

if lemon_juice:

First the computer checks: did we add lemon juice? If so, that changes the enzyme's environment and slows the reaction down.

elif oxygen:

If there's no lemon juice, the computer checks the next condition: is oxygen reaching the cut surface? If so, browning can happen quickly.

else:

If neither condition is true — no lemon juice and no oxygen — the enzyme can't react, so the apple stays fresh.

Step 19

🎯 Run the model

Before you run it — for Apple A (oxygen = True, lemon_juice = False), which message do you predict will print?

Python console Python
Output will appear here.

Think about it

Try changing lemon_juice = False to lemon_juice = True and press Run again — that's Apple C. Then try setting oxygen = False too — that's Apple B.

Step 20

🍎 Which apple browns fastest?

Suppose you changed the code so that lemon_juice = True, while oxygen stayed True.

Which message would now print?

Step 21

🧠 Can you explain the mystery?

Complete the sentence: An apple turns brown because...

Reveal a possible answer

Cutting an apple damages its cells and breaks down the barriers that normally keep the enzyme polyphenol oxidase (PPO) separated from its target molecules. Once mixed together and exposed to oxygen from the air, PPO speeds up chemical reactions that produce brown pigments. Changing the environment — like covering the cut surface or adding acidic lemon juice — can slow the enzyme down and keep the apple fresher for longer.

Bonus question — why does lemon juice work, exactly?

Lemon juice is acidic (low pH), and changing the pH around an enzyme can change its shape and slow its activity — it doesn't wash the brown color away, it changes the chemistry.

Step 22

🌟 Next mystery

We've figured out why apples turn brown.

There are more everyday mysteries hiding all around you — more missions are on the way.

Back to all missions