A pantograph is an apparatus mounted on the roof of an electric train or tram to collect power through contact with an overhead line.