HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Chemistry in Everyday Life: Medicines, Food and Cleansing Agents
  1. 1Drugs and their targets in the body
  2. 2Medicines by what they do
  3. 3Chemicals in food, soaps and detergents
  1. Chemistry
  2. /Chemistry in Everyday Life: Medicines, Food and Cleansing Agents
  3. /Chemicals in food, soaps and detergents

Course 36.3·Lesson 3 of 3

Chemicals in food, soaps and detergents

A jar of jam keeps for months and a diet drink tastes sweet with no sugar. This lesson covers the preservatives, antioxidants and sweeteners added to food, then shows how soap is made from fat, how it lifts grease, and why detergents work in hard water.

about 25 min1 simulation1 practice question
Lesson 3 of 3Show all lessonsHide
Chemistry in Everyday Life: Medicines, Food and Cleansing Agents
  1. 1Drugs and their targets in the body
  2. 2Medicines by what they do
  3. 3Chemicals in food, soaps and detergents

Try the code and the simulations beside the lesson.

A jar of jam and a bar of soap

Why does a jar of jam keep for months, while a cut apple turns brown in an hour? Why does soap leave a grey scum in some water but not in other water? Both questions have chemical answers.

Chemicals in food

Preservatives stop food from spoiling, because they stop the growth of microbes.

  • Table salt, sugar and vegetable oils have been used for centuries. A strong salt or sugar solution draws water out of microbes.
  • Sodium benzoate is used in small amounts. The body changes it to hippuric acid, which leaves in the urine.
  • Salts of sorbic acid and propanoic acid are also used.

Antioxidants slow the reaction of food with oxygen. They react with oxygen more easily than the food does.

  • BHT, butylated hydroxytoluene, and BHA, butylated hydroxyanisole, are the common ones. BHA added to butter makes it keep for years instead of months.
  • Sulphur dioxide and sulphites are used for wine and beer, sugars and syrups, and cut, dried and preserved fruits and vegetables.

Artificial sweeteners taste sweet but give little or no energy, which helps people with diabetes or people who must limit sugar. Sweetness is compared with sucrose (cane sugar) as 1.

SweetenerTimes sweeterNote
Aspartame100breaks down when cooked
Saccharin550leaves the body unchanged
Sucralose600stable when cooked
Alitame2000hard to measure out

Aspartame is the methyl ester of a dipeptide of aspartic acid and phenylalanine. It breaks down at cooking temperatures, so it is used only in cold foods and soft drinks. Sucralose is a sucrose molecule in which three -OH\text{-}\text{OH}-OH groups are replaced by chlorine atoms. It looks and tastes like sugar and survives baking. Alitame is so strong that the right amount of sweetness is hard to control.

Soaps

A soap is the sodium or potassium salt of a long-chain fatty acid, such as stearic acid, C17H35COOH\text{C}_{17}\text{H}_{35}\text{COOH}C17​H35​COOH, palmitic acid or oleic acid. Fats and oils are triglycerides: esters of glycerol (propane-1,2,3-triol) with three fatty acids. Boiling a fat with aqueous sodium hydroxide breaks the three ester links. This is saponification:

(C17H35COO)3C3H5 + 3NaOH → 3C17H35COONa + C3H5(OH)3(\text{C}_{17}\text{H}_{35}\text{COO})_{3}\text{C}_{3}\text{H}_{5}\ +\ 3\text{NaOH}\ \rightarrow \ 3\text{C}_{17}\text{H}_{35}\text{COONa}\ +\ \text{C}_{3}\text{H}_{5}(\text{OH})_{3}(C17​H35​COO)3​C3​H5​ + 3NaOH → 3C17​H35​COONa + C3​H5​(OH)3​

Common salt is added, and the soap separates as a solid. Potassium soaps are softer than sodium soaps. Different kinds are made by adding other substances: perfume and colour for toilet soaps, air bubbles for floating soaps, glycerol and sodium rosinate for shaving soaps, and fillers such as sodium silicate, borax and sodium carbonate for laundry soaps. A transparent soap is made by dissolving soap in ethanol and evaporating the excess.

How soap cleans

A soap anion has two ends. A long hydrocarbon tail dissolves in grease but not in water. A charged head, -COO−\text{-}\text{COO}^{-}-COO−, dissolves in water. In water the anions cluster into a ball called a micelle, with the tails inside and the heads outside. A drop of grease goes into the centre of the micelle. The charged outside keeps the micelles apart, so the grease is carried away by the water. You met micelles as colloids in the chapter on surface chemistry.

Left: a soap anion drawn as a long zigzag hydrocarbon tail with a round head marked COO minus. Right: a micelle in water, a circle of soap anions with all the tails pointing in towards a drop of grease at the centre and all the charged heads facing out into the water, with sodium ions outside.

Hard water contains calcium and magnesium ions. They form insoluble salts with soap anions:

2C17H35COO− + Ca2+ → (C17H35COO)2Ca2\text{C}_{17}\text{H}_{35}\text{COO}^{-}\ +\ \text{Ca}^{2+}\ \rightarrow \ (\text{C}_{17}\text{H}_{35}\text{COO})_{2}\text{Ca}2C17​H35​COO− + Ca2+ → (C17​H35​COO)2​Ca

This grey solid is the scum. It wastes soap and sticks to cloth.

Synthetic detergents

A synthetic detergent cleans like a soap but works in hard water too, because its calcium salt dissolves.

  • Anionic detergents have a negative head. Sodium alkylbenzenesulphonates, such as sodium dodecylbenzenesulphonate, and sodium alkyl sulphates, such as sodium lauryl sulphate, are used in washing powders and toothpastes.
  • Cationic detergents have a positive head. They are quaternary ammonium salts, such as cetyltrimethylammonium bromide. They kill germs and are used in hair conditioners, but they cost more.
  • Non-ionic detergents have no charge. An ester of stearic acid with poly(ethylene glycol) is one. They are used in liquid dishwashing detergents.

A detergent with a branched hydrocarbon tail is broken down slowly by bacteria. It stays in rivers and makes foam. Detergents with unbranched tails are biodegradable, and they are now used instead.

Choose glyceryl tristearate and 100 g. About 103 g of soap forms. The soap line is the steepest, because the three soap ions together are heavier than the fat molecule they came from.

Practise with new numbers

Try it in Python

The program works out the soap, glycerol and saponification value for a fat of known molar mass.

Read it first. Predict the mass of sodium hydroxide. Then run it.

1. Change fat_molar to 806, glyceryl tripalmitate. Does the saponification value go up or down?

2. Why does a fat with shorter chains have a larger saponification value?

Common mistakes

  • Using aspartame in a cake. It breaks down when heated; sucralose does not.
  • Thinking an antioxidant kills microbes. That is a preservative. An antioxidant slows reaction with oxygen.
  • Forgetting the 3 in saponification. A triglyceride has three ester links and takes three NaOH.
  • Saying detergents fail in hard water. Their calcium salts dissolve, unlike those of soap.
  • Thinking all detergents are anionic. Cationic and non-ionic detergents exist.

Remember these

  • Preservatives: salt, sugar, oils, sodium benzoate, sorbates. Antioxidants: BHT, BHA, sulphur dioxide.
  • Sweeteners: aspartame 100, saccharin 550, sucralose 600, alitame 2000.
  • Saponification: fat + 3NaOH gives 3 soap + glycerol.
  • Micelle: tails in, heads out, grease in the middle.
  • Detergents: anionic, cationic, non-ionic; unbranched tails biodegrade.

References

  • NCERT Chemistry Part II for Class 12 (editions before the 2023 rationalisation), the chapter Chemistry in Everyday Life, sections on chemicals in food and cleansing agents.
  • OpenStax Chemistry 2e, the chapter Organic Chemistry, on esters and their hydrolysis.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. A baker wants a sugar-free cake. Which sweetener should be chosen, aspartame or sucralose?
  1. Why does soap form a scum in hard water?
  1. In a micelle, which part of the soap anion points towards the grease?
  1. Why are detergents with unbranched tails preferred?

Enroll free in Chemistry in Everyday Life: Medicines, Food and Cleansing Agents

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

A soap maker boils 89.0 g of glyceryl tristearate, (C₁₇H₃₅COO)₃C₃H₅ (890 g/mol), with excess…Hard · High School (11–12) · by StemPy Lab
A quality chemist saponifies 2.00 g of a fat with potassium hydroxide and finds that 0.400 g of KOH…Advanced · High School (11–12) · by StemPy Lab
A soft drink factory makes a batch in which each bottle holds 50.0 g of sucrose…Hard · High School (11–12) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Chemistry in Everyday Life: Medicines, Food and Cleansing Agents
← Medicines by what they doNext →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
4 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Python Labs (1)

A soap maker's calculatorPython Lab · by StemPy Lab

Question Sets (1)

Medicines, Food and Cleaning: Review Questions10 questions · by StemPy Lab

Notes (1)

Medicines, Food Chemicals and Cleansing Agents: Quick RevisionNote · by StemPy Lab