The mission of the Holy Spirit is always conjoined and ordered to that of the Son (Cf. Jn 16:14-15). The Holy Spirit, "the Lord, the giver of Life", is sent to sanctify the womb of the Virgin Mary and divinely fecundate it, causing her to conceive the eternal Son of the Father in a humanity drawn from her own.
CCC 489
The Father's only Son, conceived as man in the womb of the Virgin Mary, is "Christ", that is to say, anointed by the Holy Spirit, from the beginning of his human existence, though the manifestation of this fact takes place only progressively: to the shepherds, to the magi, to John the Baptist, to the disciples (Cf. Mt 1:20; 2:1-12; Lk 1:35; 2:8-20; Jn 1:3 1-34; 2:11). Thus the whole life of Jesus Christ will make manifest "how God anointed Jesus of Nazareth with the Holy Spirit and with power." (Acts 10:38)
What the Catholic faith believes about Mary is based on what it believes about Christ, and what it teaches about Mary illumines in turn its faith in Christ.
Mary's predestination
"God sent forth his Son", but to prepare a body for him (Gal 4:4; Heb 10:5), he wanted the free co-operation of a creature. For this, from all eternity God chose for the mother of his Son a daughter of Israel, a young Jewish woman of Nazareth in Galilee, "a virgin betrothed to a man whose name was Joseph, of the house of David; and the virgin's name was Mary" (Lk 1:26-27):
The Father of mercies willed that the Incarnation should be preceded by assent on the part of the predestined mother, so that just as a woman had a share in the coming of death, so also should a woman contribute to the coming of life (LGLumen gentium 56; cf. LGLumen gentium 61).
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)
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..."