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. For this reason, Uranus and Neptune are now often classified in the separate category of ice giants.