Throughout the Old Covenant the mission of many holy women prepared for that of Mary. At the very beginning there was Eve; despite her disobedience, she receives the promise of a posterity that will be victorious over the evil one, as well as the promise that she will be the mother of all the living (Cf. Gen 3:15, 20). By virtue of this promise, Sarah conceives a son in spite of her old age (Cf. Gen 18:10-14; 21:1-2). Against all human expectation God chooses those who were considered powerless and weak to show forth his faithfulness to his promises: Hannah, the mother of Samuel; Deborah; Ruth; Judith and Esther; and many other women (Cf. I Cor 1:17; I Sam 1). Mary "stands out among the poor and humble of the Lord, who confidently hope for and receive salvation from him. After a long period of waiting the times are fulfilled in her, the exalted Daughter of Sion, and the new plan of salvation is established." (LGLumen gentium 55)
CCC 493
The Immaculate Conception
To become the mother of the Saviour, Mary "was enriched by God with gifts appropriate to such a role." (LGLumen gentium 56) The angel Gabriel at the moment of the annunciation salutes her as "full of grace" (Lk 1:28). In fact, in order for Mary to be able to give the free assent of her faith to the announcement of her vocation, it was necessary that she be wholly borne by God's grace.
Through the centuries the Church has become ever more aware that Mary, "full of grace" through God (Lk 1:28), was redeemed from the moment of her conception. That is what the dogma of the Immaculate Conception confesses, as Pope Pius IX proclaimed in 1854:
The most Blessed Virgin Mary was, from the first moment of her conception, by a singular grace and privilege of almighty God and by virtue of the merits of Jesus Christ, Saviour of the human race, preserved immune from all stain of original sin (Pius IX, Ineffabilis Deus (1854): DSDenzinger-Schönmetzer, Enchiridion Symbolorum, definitionum et declarationum de rebus fidei et morum 2803).
The "splendour of an entirely unique holiness" by which Mary is "enriched from the first instant of her conception" comes wholly from Christ: she is "redeemed, in a more exalted fashion, by reason of the merits of her Son" (LGLumen gentium 53, 56). The Father blessed Mary more than any other created person "in Christ with every spiritual blessing in the heavenly places" and chose her "in Christ before the foundation of the world, to be holy and blameless before him in love" (Cf. Eph 1:3-4).
The Fathers of the Eastern tradition call the Mother of God "the All-Holy" (Panagia), and celebrate her as "free from any stain of sin, as though fashioned by the Holy Spirit and formed as a new creature" (LGLumen gentium 56). By the grace of God Mary remained free of every personal sin her whole life long.
"Let it be done to me according to your word..."
At the announcement that she would give birth to "the Son of the Most High" without knowing man, by the power of the Holy Spirit, Mary responded with the obedience of faith, certain that "with God nothing will be impossible": "Behold, I am the handmaid of the Lord; let it be [done] to me according to your word." (Lk 1:28-38; cf. Rom 1:5) Thus, giving her consent to God's word, Mary becomes the mother of Jesus. Espousing the divine will for salvation wholeheartedly, without a single sin to restrain her, she gave herself entirely to the person and to the work of her Son; she did so in order to serve the mystery of redemption with him and dependent on him, by God's grace (Cf. LGLumen gentium 56):
As St. Irenaeus says, "Being obedient she became the cause of salvation for herself and for the whole human race." (St. Irenaeus, Adv. haeres. 3, 22, 4: PGPatrologia Graeca (J. P. Migne) 7/1, 959A.) Hence not a few of the early Fathers gladly assert...: "The knot of Eve's disobedience was untied by Mary's obedience: what the virgin Eve bound through her disbelief, Mary loosened by her faith." (St. Irenaeus, Adv. haeres. 3, 22, 4: PGPatrologia Graeca (J. P. Migne) 7/1, 959A.) Comparing her with Eve, they call Mary "the Mother of the living" and frequently claim: "Death through Eve, life through Mary." (LCLibertatis conscientia 56; St. Epiphanius, Panarion 2, 78, 18: PGPatrologia Graeca (J. P. Migne) 42, 728CDChristus Dominus-729AB; St. Jerome, Ep. 22, 21: PLPatrologia Latina (J. P. Migne) 22, 408)
Mary's divine motherhood
Called in the Gospels "the mother of Jesus", Mary is acclaimed by Elizabeth, at the prompting of the Spirit and even before the birth of her son, as "the mother of my Lord" (Lk 1:43; Jn 2:1; 19:25; cf. Mt 13:55; et al.). In fact, the One whom she conceived as man by the Holy Spirit, who truly became her Son according to the flesh, was none other than the Father's eternal Son, the second person of the Holy Trinity. Hence the Church confesses that Mary is truly "Mother of God" (Theotokos) (Council of Ephesus (431): DSDenzinger-Schönmetzer, Enchiridion Symbolorum, definitionum et declarationum de rebus fidei et morum 251).
Mary's virginity
From the first formulations of her faith, the Church has confessed that Jesus was conceived solely by the power of the Holy Spirit in the womb of the Virgin Mary, affirming also the corporeal aspect of this event: Jesus was conceived "by the Holy Spirit without human seed" (Council of the Lateran (649): DSDenzinger-Schönmetzer, Enchiridion Symbolorum, definitionum et declarationum de rebus fidei et morum 503; cf. DSDenzinger-Schönmetzer, Enchiridion Symbolorum, definitionum et declarationum de rebus fidei et morum 10-64). The Fathers see in the virginal conception the sign that it truly was the Son of God who came in a humanity like our own. Thus St. Ignatius of Antioch at the beginning of the second century says:
You are firmly convinced about our Lord, who is truly of the race of David according to the flesh, Son of God according to the will and power of God, truly born of a virgin,... he was truly nailed to a tree for us in his flesh under Pontius Pilate... he truly suffered, as he is also truly risen (St. Ignatius of Antioch, Ad Smyrn 1-2: Apostolic Fathers, ed. J. B. Lightfoot (London: Macmillan, 1889), 11/2, 289-293; SChSources Chrétiennes 10, 154-156; cf. Rom 1:3; Jn 1:13).
The Gospel accounts understand the virginal conception of Jesus as a divine work that surpasses all human understanding and possibility (Mt 1 18-25; Lk 1:26-38): "That which is conceived in her is of the Holy Spirit", said the angel to Joseph about Mary his fiancee (Mt 1:20). The Church sees here the fulfilment of the divine promise given through the prophet Isaiah: "Behold, a virgin shall conceive and bear a son." (Is 7:14 (LXXSeptuagint), quoted in Mt 1:23 (Greek))