The Woman of the Apocalypse (or Woman clothed in the Sun, γυνὴ περιβεβλημένη τὸν ἥλιον; Mulier amicta sole) is a figure from Chapter 12 of the Book of Revelation (written ca. AD 95).
In this narrative the woman gives birth to a male child that is attacked by the Dragon identified as the Devil and Satan. When the child is taken to heaven, the woman flees into the wilderness leading to "War in Heaven" in which the angels cast out the Dragon. The Dragon then attacks the woman who is given wings to escape, and then the dragon proceeds to attack her with a flood of water from his mouth, which is subsequently swallowed by the earth. Frustrated, the dragon initiates war on "the remnant of her seed" identified as the righteous followers of Christ.
The Woman of the Apocalypse is widely identified as the Virgin Mary. This interpretation is held by the ancient Church as well as in the medieval and modern Roman Catholic Church. This view does not negate the alternative interpretation of the Woman representing the Church, as in modern Catholic dogma, Mary is herself considered both the Mother of God and the Mother of the Church (while in Reformed theology and traditions that are averse to Marian veneration, the interpretation of the Woman represents the naturally predominate church).
The text describes "a woman clothed with the sun, and the moon under her feet, and upon her head a crown of twelve stars" (12:1). The woman is pregnant and about to give birth, "travailing in birth, and pained to be delivered" (12:2).
Then there is "a great red dragon, having seven heads and ten horns, and seven crowns upon his heads" (12:3) who is about to "devour her child as soon as it was born" (12:4). But her child is "caught up unto God" (12:5), and the woman herself is "fled into the wilderness, where she hath a place prepared of God, that they should feed her there a thousand two hundred and threescore days." (12:6)
Then there is a description of "War in Heaven" of the angels against the dragon, and "the great dragon was cast out, that old serpent, called the Devil, and Satan, which deceiveth the whole world: he was cast out into the earth, and his angels were cast out with him." (12:9)