Three wires, three jobs
Live: brown, carries alternating potential difference from the supply.
Neutral: blue, completes the circuit.
Earth: green and yellow, a safety connection to an exposed metal case.
These are the wire insulation colours used in modern UK three-core cables.