Inside the cables in North American homes, each wire has a job and a colour so electricians can tell them apart at a glance. Black (sometimes red) is the hot wire — it carries power from the panel. White is the neutral wire — it carries power back. Bare copper or green is the ground wire — a safety path that carries faults away.
The ground wire is the quiet hero. If a fault ever lets power touch the metal case of an appliance, the ground gives that power a safe road home, which trips the breaker instead of shocking a person.
Colours are a language, but pros never trust colour alone — old work can be wrong. They test. (Colour codes differ in other countries, which is another reason real work needs real training.)