An overhead line or overhead wire is an electrical cable that is used to transmit electrical energy to electric trains, trolleybuses or trams.