Why trams have a much higher capacity than buses or cars

In the above, it is showing that the three car tram, white, in the centre, can replace 7 buses, and all the cars on the left, ie an 8 lane highway See Also:¬†https://bathtrams.uk/relative-carrying-capacity-cars-buses-trams/