Jupiter and Saturn are similar because they are made up of mostly hydrogen and helium. They both contain massive rocky cores that are bigger than Earth. Neptune and Uranus are similar because they are mainly made up of water and rock (a mixture of one or several minerals).
Gas giants have also been found around other stars than the sun. Most of those found are "hot giants" orbiting close to their star.