Physically, railroads are composed of at least two metallic (and conductive) rails that run along their entire length. As far as electricity is concerned, these rails act as any other conductor and readily will have a current induced on them from nearby AC power sources.