Mission 1 · Science + Coding

Why does salt disappear in water?

This mission turns a kitchen mystery into an investigation — with a real cup of water, a little salt, and the atoms hiding inside both.

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

🔬 Ready to investigate?

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

  • 🍃 Explain why salt seems to disappear when it dissolves in water.
  • 🍃 Understand that all matter is made of extremely small particles called atoms.
  • 🍃 Identify the three main particles in an atom: protons, neutrons, and electrons.
  • 🍃 Understand that the number of protons determines what element an atom is.
  • 🍃 Recognize a few common elements by their symbols (H, O, C, Na, Cl).
  • 🍃 Understand that salt is made of charged particles called ions.
  • 🍃 Explain that dissolving spreads matter through water rather than destroying it.
  • 🍃 Store information in a variable in code.

What you'll need

A clear cup of water, a little salt, and a spoon.

Step 1

🧂 Where did the salt go?

Imagine you have a glass of water. You add a spoonful of salt.

At first, you can clearly see the salt crystals. Then you stir. After a few seconds…

The salt seems to disappear.

What do you think happened?

Step 2

Get ready to investigate

Materials. If you're doing this mission in person, get:

Before you mix. Place a small amount of salt on a plate or spoon. Look closely at it.

Observation 1 · Before you add the salt

What does the salt look like? Think about color, shape, the size of the grains, texture, and whether you can see individual crystals.

Prediction

What do you think will happen after you add the salt to water and stir?

Step 3

💧 Test it

Add a small amount of salt to your water. Stir for about 20–30 seconds. Now look carefully.

Observation 2

What happened to the salt crystals?

Question

If you cannot see the salt anymore, does that prove that the salt no longer exists?

Step 4

🧠 How could we test whether the salt is still there?

Scientists don't rely only on what they can see. They look for other evidence.

Imagine you had two cups:

Cup A
Plain water
Cup B
Water with dissolved salt

If the salt really disappeared completely, the two cups should be identical. But are they?

What could you do to find evidence that salt is still present?

One particularly useful test: what happens if we remove the water?

If the water evaporates, salt crystals are left behind. So the salt did not vanish — it was there the entire time.

A new mystery

If the salt is still in the water, why can't we see it? To solve that, we need to zoom in.

Step 5

🔍 Zoom in

Imagine we could keep magnifying a grain of salt. A grain that looks tiny to us is actually made of an enormous number of particles.

Salt grain
→
Smaller crystal
→
Tiny particles
→
+ + − −
⚡ Atoms and ions

We have reached a scale far too small to see with our eyes.

Step 6

⚛ What is matter made of?

Everything you can touch is made of matter.

Matter is built from incredibly small particles called atoms.

An atom is one of the basic building blocks of matter. Atoms are so small that you cannot see an individual atom with your eyes or an ordinary classroom microscope. But scientists have developed ways to study how atoms behave.

Step 7

⚛ What is inside an atom?

Atoms themselves contain even smaller particles. There are three especially important ones:

Protons and neutrons are found together in the center of the atom — this center is called the nucleus. Electrons occupy the space around the nucleus.

nucleus electron shell electron
electron proton neutron

Protons and neutrons are packed together in the nucleus, at the center. Electrons move around the nucleus in shells.

✅ Quick check

Question 1 · Which particle has a positive charge?

Question 2 · Which particle has no charge?

Question 3 · Which particle has a negative charge?

Step 8

🧪 Different atoms make different elements

Not every atom is the same. The type of atom is determined by how many protons it has.

Each type of atom belongs to an element. An element is a substance made from one type of atom.

For example:

1
H
Hydrogen
6
C
Carbon
8
O
Oxygen
11
Na
Sodium
17
Cl
Chlorine

There are many different elements, and they can interact in different ways to create the substances around us.

Which of these is an element?

Step 9

💧 What about water?

The water in your cup is made of water molecules. A molecule forms when atoms are chemically joined together. One water molecule contains two hydrogen atoms and one oxygen atom.

O H H

This is why water is written H₂O — the small 2 means there are two hydrogen atoms.

So even though a drop of water looks like one continuous substance, zoom in far enough and you would find enormous numbers of water molecules.

Step 10

🧂 Now zoom in on salt

Table salt is called sodium chloride. Its chemical formula is:

NaCl

Na represents sodium. Cl represents chlorine.

But there is something interesting about salt.

Not quite atoms

In solid table salt, sodium and chlorine exist as electrically charged particles called ions — not as plain, uncharged atoms.

Step 11

⚡ What is an ion?

Remember: protons have positive charge, electrons have negative charge.

Normally, an atom has equal numbers of protons and electrons — the positive and negative charges balance. But atoms can lose or gain electrons. When that happens, the particle becomes electrically charged. A charged atom or group of atoms is called an ion.

Sodium

A sodium atom can lose one electron. It then has more positive charge than negative charge.

Na⁺

A positively charged ion — 10 electrons around the nucleus.

Chlorine

A chlorine atom can gain one electron. It then has more negative charge than positive charge.

Cl⁻

A negatively charged ion — 18 electrons around the nucleus.

Opposite charges attract — that's why Na⁺ and Cl⁻ are drawn to each other.

If a particle loses a negatively charged electron, does it become more positive or more negative?

Step 12

🔨 Inside a salt crystal

A salt crystal contains huge numbers of Na+ ions and Cl− ions arranged in a repeating structure. The positive and negative charges attract each other — this helps hold the salt crystal together.

Na⁺ Cl⁻
● Na⁺ (sodium ion) ● Cl⁻ (chloride ion)

So before you put salt in water, you can imagine it as a large organized 3D structure made of many tiny charged particles.

Step 13

💧 What happens when water arrives?

Now let's return to our cup. It contains both salt and water, and water plays a big role in what happens next.

O H H

A single water molecule — two hydrogen atoms and one oxygen atom.

Water molecules have regions with slightly different electrical charges. Unlike ions, which have full electrical charges, water molecules have areas that are slightly more positive and areas that are slightly more negative. Because of this, water molecules can interact with charged particles, such as ions.

When salt is placed in water, the water molecules begin interacting with the sodium and chloride ions at the surface of the salt crystal. The water molecules surround these ions and help pull them away from the crystal. This process is what we commonly call dissolving.

Step 14

🧂→💧 Dissolving

Imagine the salt crystal like this — ions packed tightly together. When water surrounds the crystal:

salt crystal
→
Na⁺ Cl⁻ Na⁺ Cl⁻
each ion surrounded by water

Water molecules interact with the ions → Na⁺ and Cl⁻ separate from the crystal → water molecules surround (hydrate) each one → the ions spread throughout the water.

The salt has now dissolved.

Step 15

🤔 Did the salt disappear?

No.

The salt particles became separated and spread throughout the water. They are simply much too small for us to see individually.

Key idea

Disappearing from sight is not the same as disappearing from existence. The salt is still present — it is just distributed through the water at a microscopic level.

Question 1 · What happens when salt dissolves?

Question 2 · Why can't you see the salt anymore?

Step 16

🔍 Return to your experiment

Look at your cup again. You started with visible salt crystals. Now you may see only clear water.

But based on what we learned, finish this sentence:

The salt is still in the cup because...

Try to include at least one of these ideas: ions · particles · water molecules · dissolved · too small to see

Step 17

🧠 Solve the mystery

Let's put all of our evidence together. Where does salt go when it dissolves?

  1. Salt is made of matter.
  2. Matter is made of atoms.
  3. Different types of atoms are different elements.
  4. Table salt contains sodium and chlorine.
  5. In salt, these exist as charged particles called Na⁺ and Cl⁻ ions.
  6. Water molecules interact with these ions.
  7. The ions are pulled away from the salt crystal.
  8. The ions spread throughout the water.
  9. They are far too small for us to see individually.

So… the salt never disappeared. It dissolved.

Step 18

💻 Code it: Part 1 — Recording our experiment

Scientists collect observations during experiments. Computers can help us store and organize that information.

One way we store information in Python is with a variable. A variable is a name that stores a value. For example:

PythonPython
salt_grams = 5

The variable is called salt_grams, and the value stored inside it is 5. But variables can store different types of information.

🔢 Integer

An integer is a whole number.

PythonPython
salt_grams = 5

Variable: salt_grams
Value: 5
Type: Integer

👤️ String

A string stores text. Strings are written inside quotation marks.

PythonPython
substance = "salt"

Variable: substance
Value: "salt"
Type: String

✅ Boolean

A Boolean stores one of two values: True or False. Booleans are useful for recording yes-or-no observations.

PythonPython
crystals_visible = False

This means: Are the salt crystals visible? False → No.

Quick Check · What type of variable is each one?

water_mL = 100

substance = "salt"

crystals_visible = False

Step 19

🧪 Record what we observed

Now let's use variables to record our actual salt experiment. Think back to what you observed. Our experiment might look like this:

PythonPython
substance = "salt"
salt_grams = 5
water_mL = 100
crystals_visible = False
water_clear = True

Each variable stores a different piece of information.

Question 1 · Which variable tells us what substance we used?

Question 2 · Which pair of variables stores numbers?

Question 3 · Which pair of variables stores yes-or-no observations?

Step 20

🖥️ Displaying our record

Storing information is useful, but sometimes we want the computer to show us what it stored. We can do this using the print() function.

print() tells Python: display something on the screen. For example:

PythonPython
print("Hello!")

displays: Hello!

We can also print a variable:

PythonPython
print(salt_grams)

which displays: 5

Printing text and variables together. Sometimes we want to display both a label and a variable. For example:

PythonPython
print("Salt added:", salt_grams)

The comma tells Python to display both pieces of information together. Python displays: Salt added: 5

We can also write:

PythonPython
print("Salt added:", salt_grams, "grams")

which displays: Salt added: 5 grams

What did we just use code to do? We used code to record and display observations from an experiment.

But computers can do more than remember what we already know. They can also calculate new information for us.

Step 21

💻 Code it: Part 2 — Using code to calculate

Imagine you have two cups of salt water. Both look clear.

Cup A

clear liquid

Cup B

clear liquid

At first glance, the two cups may look exactly the same.

But scientists can describe a solution using characteristics that we cannot always see just by looking.

For example, we can ask:

These measurements help us describe and compare the two cups more precisely.

One useful characteristic is concentration.

Concentration tells us how much of a substance is present compared with the amount of liquid.

Even if two cups both look clear, they can have very different concentrations.

This is where computation becomes useful.

We can give the computer our measurements and ask it to calculate the concentration for us.

Step 22

🪙 What is concentration?

Imagine these two cups:

Cup A

5 grams of salt
100 mL of water

Cup B

10 grams of salt
100 mL of water

Which cup has more salt packed into the same amount of water?

Scientists use the idea of concentration to describe how much of a substance is present in a certain amount of liquid. For this mission, we'll use a simple measurement: grams of salt per milliliter of water.

The formula

salt concentration = grams of salt ÷ milliliters of water

Step 23

🧠 Let the computer do the math

For our experiment:

PythonPython
salt_grams = 5
water_mL = 100

We could calculate the answer ourselves. But Python can do it for us.

PythonPython
salt_per_mL = salt_grams / water_mL

The / symbol means divide. So Python calculates 5 ÷ 100 and stores the answer in a new variable: salt_per_mL.

Read the code:

PythonPython
salt_grams = 5
water_mL = 100

salt_per_mL = salt_grams / water_mL

print("Salt per mL:", salt_per_mL)

Before you run it · what does this line do? salt_per_mL = salt_grams / water_mL

Step 24

▶️ Run the calculation

Run the code below. You should get Salt per mL: 0.05.

Python console Python
Output will appear here.

This tells us that our simple solution contains 0.05 grams of salt for every 1 mL of water.

Step 25

🥤 Compare two cups

Now let's let the computer compare two experiments.

Cup A

PythonPython
salt_A = 5
water_A = 100

concentration_A = salt_A / water_A

print("Cup A:", concentration_A, "grams per mL")

Cup B

PythonPython
salt_B = 10
water_B = 100

concentration_B = salt_B / water_B

print("Cup B:", concentration_B, "grams per mL")

Prediction — before you run the code, which cup do you think will have the larger concentration?

Python console Python
Output will appear here.

Which cup is more concentrated?

Step 26

🧠 Why was the code useful?

Both cups might look like ordinary clear water. But the computer helped us calculate something we couldn't determine just by looking.

We started with measurements: grams of salt, and milliliters of water. Then the computer used those measurements to calculate how much salt there is compared with the amount of water.

Record data → perform calculations → discover information that isn't obvious from observation alone.

Part 1

Code remembers what we observed.

Part 2

Code helps us figure out something new.

Step 27

✏️ Your turn: change the model

Now you get to change the code. You do not need to write a program from scratch — use the template below and change only the numbers.

Python console Python
Output will appear here.

Challenge 1 · change salt_grams = 5 to salt_grams = 10. Keep the amount of water the same.

Before you run it — what do you predict will happen to the concentration?

Challenge 1

Try 0 of 5

Change salt_grams = 5 to salt_grams = 10, keeping water_mL = 100. Then press Check answer and run the code.

Edit the code above and press Check answer.

Think about it

You just changed one variable and watched the result. When you added more salt but kept the water the same, the concentration increased. So code lets us quickly test: what happens if I change one part of my experiment? Scientists can use models like this to explore many different conditions without calculating every case by hand. We will be able to do even more with coding with each mission!

Step 28

❓ Final question

Which statement best explains what happens when salt dissolves in water?

Step 29

🌟 Next mystery

Today, we learned that the world around us is made of atoms — and that electrons help determine the electrical charge of particles.

But electrons can do much more than create ions. During chemical reactions, the way electrons are arranged can change. And sometimes, those reactions produce something we can actually see.

🍎 → 🟤

Why does a freshly cut apple slowly turn brown?

Mission 2 · Why Do Apples Turn Brown?