Mary’s presentation was celebrated in Jerusalem in the sixth century. A church was built there in honor of this mystery. The Eastern Church was more interested in the feast, but it does appear in the West in the 11th century. Although the feast at times disappeared from the calendar, in the 16th century it became a feast of the universal Church.
As with Mary’s birth, we read of Mary’s presentation in the temple only in apocryphal literature. In what is recognized as an unhistorical account, the Protoevangelium of James tells us that Anna and Joachim offered Mary to God in the Temple when she was 3 years old. This was to carry out a promise made to God when Anna was still childless.
Though it cannot be proven historically, Mary’s presentation has an important theological purpose. It continues the impact of the feasts of the Immaculate Conception and of the birth of Mary. It emphasizes that the holiness conferred on Mary from the beginning of her life on earth continued through her early childhood and beyond.
Source: https://www.franciscanmedia.org/saint-of-the-day/presentation-of-the-blessed-virgin-mary
(Year B) The immaculate Fruition issuing forth from the womb occurred from an infertile mother, and then the parents, in the first blossoming of Her growth brought Her to the temple and dedicated Her to God. The priest, then making the order of services, beheld the face of the girl and of those in front of and behind, and he became gladdened and joyful, seeing as it were the actual fulfillment of the Divine promise. He consecrated Her to God, as a reverential gift and propitious sacrifice -- and, as a great treasury unto salvation, he led Her within the very innermost parts of the temple. Here the Maiden walked in the upright ways of the Lord, as in bridal chambers, partaking of heavenly food until the time of betrothal, which was preordained before all the ages by Him Who, by His inscrutable mercy, was born from Her, and by Him Who before all creation and time and expanse Divinely begat Him, and together with His consubstantial and co-reigning and co-worshipped Spirit -- this being One Godhead, having One Essence and Kingdom, inseparable and immutable and in which is nothing diverse, except the personal qualities. Wherefore, in solemnity and in song I do offer the Mother of the Word the festal gift; since that He born of Her hath taught me to believe in the Trinity: the Son and Word Without-Beginning hath made in Her His Incarnation; the Father begetting Him hath blessed this; the Holy Spirit hath signed and sanctified the womb which incomprehensibly hath conceived. (St. Andrew of Crete)