Gas giant Gas giant A gas giant is a giant planet composed mainly of hydrogen and helium. Gas giants are sometimes known as failed stars because they contain the same basic elements as a star. Jupiter and Saturn are the gas giants of the Solar System. The term "gas giant" was originally synonymous with "giant planet", but in the 1990s it became known that Uranus and Neptune are really a distinct class of giant planet, being composed mainly of heavier volatile substances (which are referred to as "ices"). For this reason, Uranus and Neptune are now often classified in the separate category
Ice giant the terrestrial and gas giants is relatively straightforward and uncontroversial. The terrestrial planets of the Solar System are widely understood to have formed through collisional accumulation of planetesimals within the protoplanetary disc. The gas giants—Jupiter, Saturn, and their extrasolar counterpart planets—are thought to have formed after solid cores around 10 Earth masses () formed through the same process, while accreting gaseous envelopes from the surrounding solar nebula over the course of a few to several million years (Ma), although alternative models of core formation based on pebble accretion have recently been proposed. Some extrasolar giant planets may instead have formed