Answer:
Explanation: The density of gas differentiates all the varieties of gas present in the atmosphere.
HYDROGEN- it is a lighter gas having a lesser density.
For example, a hydrogen balloon displaces the air around it thus making it rise.
CARBON DIOXIDE: It is a denser gas as it makes the balloon heavier than the air pressure around it thus making it sink.
I hope the explanation was helpful. :)