It's this third rail that provides the electricity that powers the train. If you touch the third rail, that electricity tries to power you instead, which never goes well. This use of third rail dates to the dawn of the first subway systems, in the 1860s.