Every time you switch on a light or charge a phone, electricity begins a journey that often stretches hundreds of kilometres.