Nobody answered because you would need to go back into history quite a ways to understand.
Let it be said that wheel sizes are the direct result of various national standards that developed over time and because they stem from different systems, they are based upon different naming conventions that are in no way inter-related.
Because of the complete and utter confusion that reigned up until the 70's, a universal naming convention ETRTO was arrived at and is now marked n all tyres. The ETRTO convention defines how a tyre is to be measured and is always the same.
Your standard 27" x 1 1/4" tyre of yore is a 630 ETRTO dimension, the standard tubular size, which has been alternatively called 28", 700c, 27" and perhaps other names too according to distinct naming conventions that have held stead over the years, measures 622 ETRTO. Likewise the modern 29'er tyres for MTB are also 622 ETRTO.
As a general rule, most tyres having the same ETRTO diameter will fit on the same rims, as long as the difference in potential width is not overly great and the rims is set out to hold the particular tyre design on (i.e. some tyres require a "hook" bead)
BTW: there were 650A, 650B and 650C tyre sizes that are in no way interchangeable. The idea with the three "sizes" was to end up with a similar outer diameter of the tyre and not related to a rim size at all. The idea being that if you used a wheel with 650A, 650B or 650C, you would end up with a similar diameter outer tyre size as long as you didn't need to fit a rim brake.