In our solar system, gas giants are much bigger than terrestrial planets, and they have thick atmospheres full of hydrogen and helium. On Jupiter and Saturn, hydrogen and helium make up most of the planet, while on Uranus and Neptune, the elements make up just the outer envelope.
Using the fossil record, you can categorize species based on analogous or homologous structures