Answer:
The gas and ice giants — Jupiter, Saturn, Uranus and Neptune — are outliers. They are much larger than the terrestrial planets, but their cores are small and icy. Most of their size is formed by a combination of gases that become denser and hotter as you get closer to the core.