The reason for the cables:
There's two ways of powering the trains: through the track, or via overhead cables. Personally I think powering them through the track makes more sense, since it saves heaps of resources, doesn't look nearly as ugly, and provides a nice deterrent to crossing the rail line all in one shot!
But we use the cables. It's pretty endemic of our public transport system. :/