Rails are safer because vehciles are more predictable - they are always on the track, with only limited places where they can switch tracks, and you can control that externally ensuring there are no conflicts. Rails can handle more people because in the form of a train they can pack in a lot more people. Cars use a lot of space for engine and luggage compartments.