In air , all the consisting gases remain uniformly mixed. Co2 which is lower than both N2 and O2 does not form the lower layer in the atmosphere. Why?
Carbon dioxide has density of 1.97kg/m3 compared to 1.29kg/m3 for air. CO2 is heavier.
Air molecules have a lot of kinetic energy and they keep colliding with each other. This acts against the gravitational force on the molecules and keeps them suspended in air. However, heavier gases tend to have higher concentration in the lower elevations. Atmosphere at very high elevation ~650km is mostly Helium as per The Composition of Earth’s Atmosphere With Elevation
For the same reason dust particles to stay suspended in air as well as in turbid water.