What does STEM mean, and where does AI fit?
STEM stands for science, technology, engineering and mathematics. The four subjects share one habit: ask how something works, then test the answer. In US federal law, STEM education also includes computer science. AI fits inside STEM. It is a field of computer science, and building or checking an AI system uses all four letters.
Last reviewed: 20 October 2026 6 min read
What does STEM stand for?
STEM stands for science, technology, engineering and mathematics. People use it to group the school subjects that explain how the world works and how we design things that work in it.
| Letter | Subject | The question it asks | One AI example |
|---|---|---|---|
| S | Science | How does this work, and how do we know? | Testing a model on fresh cases it has never seen is an experiment: make a prediction, run the test, look at the result. |
| T | Technology | What tools do people make, and what do they do? | An AI system is a technology: a computer program that turns inputs, such as a photo or a sentence, into an output. |
| E | Engineering | How do we design something that works within real limits? | Builders of an AI system choose its examples, decide what counts as a mistake and trade speed against accuracy. |
| M | Mathematics | How do numbers, patterns and shapes behave? | A model scores each answer with a weighted sum and learns by making its error a little smaller each step. |
What is STEM education?
STEM education is teaching and learning in those four subjects. US federal law defines it as "education in the subjects of science, technology, engineering, and mathematics, including computer science."
So computer science is part of STEM in that definition, even though it has no letter of its own. That matters for AI, because AI grew out of computer science.
Is AI part of STEM?
Yes. AI is a field of computer science, and computer science counts as STEM in US law. Building, testing and explaining an AI system uses all four letters at once.
US law describes artificial intelligence as "a machine-based system that can, for a given set of human-defined objectives, make predictions, recommendations or decisions influencing real or virtual environments." Look at the words "human-defined objectives": people set the goals. That is why AI also needs questions that STEM alone does not answer.
Here is one AI system, a machine that sorts photos of pets into "cat" and "dog", seen through each letter:
- Science: Does it work on photos it has never seen? Predict first, then test.
- Technology: What goes in (pixels, a grid of numbers) and what comes out (a label and a score)?
- Engineering: What examples went in, how many mistakes are acceptable, and what happens when it is unsure?
- Mathematics: How does it turn pixels into a score, and how did its weights change while it learned?
What does AI need beyond STEM?
AI also needs questions about people: who chose the goal, who is affected and who decides how the system is used. Those are questions for ethics, law and the social sciences as well as for STEM.
Researchers work the same way. A US National Science Foundation research program on the mathematical foundations of AI funds teams "consisting of mathematicians, statisticians, computer scientists, engineers, and social and behavioral scientists." Understanding AI well takes all of those views together.
How can a child study any technology the STEM way?
Ask the same six questions of any machine, from a pet-photo sorter to a large AI system. They are the backbone of the curriculum's learning path from 8 to 18, and every age revisits the same six questions with more depth.
| Question | For the pet-photo sorter |
|---|---|
| What information does the system receive? | A photo, stored as a grid of numbers. |
| What does it do with that representation? | Turns the numbers into a score for "cat" and a score for "dog". |
| How did its behavior arise or change? | From many photos that people labeled "cat" or "dog". |
| How do we test it on fresh cases? | With photos it never saw while it was learning. |
| Where can it fail or be manipulated? | A fox, a cat in a costume, or a blurry photo taken at night. |
| Who chose the goal, who is affected, and who has authority to act? | The people who built it chose "cat or dog". A pet owner with a rabbit is left out. |
The first four questions are science, technology, engineering and mathematics at work. The last two bring in people.
Try it at home: STEM spotting (no device needed)
You need one ordinary machine in your home, such as a toaster, a fridge or a washing machine, and about 10 minutes.
- S: What does it sense, or what changes when it runs? Make one prediction and check it.
- T: What goes in, and what comes out?
- E: What did its designers have to balance? Think about cost, safety, size and speed.
- M: Find one number it uses: a time, a temperature, a setting.
- People: Who decided what "done" or "clean" means? Would everyone agree?
For ages 11 and up: do the same for an app on a family device. Which questions are harder to answer, and why?
What this guide does and does not tell you
It tells you:
- What the four letters stand for, with one AI example each.
- That US federal law counts computer science as part of STEM education.
- Why AI uses all four letters, and why it also needs questions about people.
It does not tell you:
- How any particular school or state organizes STEM classes. Check with your child's school.
- How any particular AI product works. The pet-photo sorter is an illustration written for this guide.
- Every subject that touches AI. Art, language, history and civics all have a part too.
Where does Mechna Academy fit?
Mechna Academy is a city of machines for curious children aged 8 to 18, opening first to ages 8 to 10. In each mission, a child guesses how a machine decides, then opens its Peek Hatch to check, changes one thing and tests it on a case it has never seen. Children learn how AI works this way, and they never chat with an AI.
Sources
Questions
STEM stands for science, technology, engineering and mathematics. It groups the subjects that explain how the world works and how people design things that work in it.
Yes. AI is a field of computer science, and US federal law counts computer science as part of STEM education. Building and testing an AI system uses science, technology, engineering and mathematics together.
In US federal law, yes. The STEM Education Act of 2015 defines STEM education as education in science, technology, engineering and mathematics, including computer science.
No. Coding is one skill inside computer science, which is one part of STEM. A child can study how machines and AI work through experiments, design and math without writing code.
No. AI systems are built for goals that people choose, and they affect real people. Questions about fairness, privacy and who decides belong to ethics, law and the social sciences as well as to STEM.
Mechna Academy is a city of machines for curious children aged 8 to 18, opening first to ages 8 to 10.
Mechna Academy is a city of machines for curious children aged 8 to 18, opening first to ages 8 to 10.
For grown-ups: join the waitlistPlaces are limited. The waitlist is for parents and guardians 18 and older.