The Seven Heavens are a layered vision of the celestial realms, ascending through seven levels toward the divine presence, that appears across several traditions rooted in the ancient Near East, and the number seven likely reflects the seven visible "wandering stars" (the sun, moon, and five planets) of Babylonian astronomy, each imagined as governing a sphere.
In Jewish mystical tradition, especially the early Hekhalot ("palaces") and Merkavah ("chariot") literature, the mystic ascends in vision through the seven heavens, past ranks of angels and cosmic functionaries guarding each gate, toward the seventh, Aravot, which contains the throne and presence of God. The scheme passed into Christian and Islamic imagining as well: Paul speaks of being "caught up to the third heaven," and in Islamic tradition the Prophet Muhammad, on the Night Journey (Miraj), ascends through the seven heavens, meeting an earlier prophet stationed in each, Adam, Jesus and John, Joseph, Enoch, Aaron, Moses, and Abraham, before approaching the divine at the summit. The Seven Heavens express a widespread religious intuition: that the distance between the human and the divine is structured, ordered, and traversable in stages, and that the ascent through them, whether in visionary experience or after death, is the soul's approach to God.