Imagine a busy online store during a flash sale. Hundreds of customers try to buy the last few laptops in stock at the same instant. Without careful coordination, the database might accidentally sell the same laptop to two people, or let one customer’s order quietly overwrite another’s. Concurrency control is the set of rules and techniques that stop these mix‑ups, so many transactions can run side‑by‑side safely.