The KMT describes the behavior of ideal gases:
Gas molecules are in constant, random, rapid motion.
Gas molecules are much smaller than the space between them.
Gas molecules do no experience IMFs or gravity.
Gas molecules have the same kinetic energy at any given temperature.
Gas molecules experience perfectly elastic collisions.
KE = ½ mv²
The heavier a gas, the slower it moves at a given temperature.
Gases move faster as temperature increase.
Maxwell-Boltzmann Distribution

O2 is the heaviest and coldest, so moves the slowest.
H2 is the lightest and warmest, so moves the fastest.