The sparks on the tracks of the London Underground are primarily caused by the electrical current flowing through the third rail system. The London Underground uses a third rail electrification system, where a conductor rail running alongside the tracks provides power to the trains.