The Infinity Gems, originally referred to as Soul Gems and later referred to as Infinity Stones, are six immensely powerful fictional gems appearing in American comic books published by Marvel Comics. Whoever holds all six Gems and uses them in concert gains omnipotence and omniscience. The six primary Gems are the Mind Gem, the Soul Gem, the Space Gem, the Power Gem, the Time Gem and the Reality Gem, and in later storylines, crossovers and other media, a seventh Infinity Gem (Ego or Rhythm) is sometimes added. The Gems play a prominent role in the first three phases of the Marvel Cinematic Universe, where they are known as the Infinity Stones