Mary and Joseph take the infant Jesus to the Temple to present him to God.
The Gospel of Luke recognizes Joseph and Mary as faithful Jews who bring Jesus to the Temple in Jerusalem. Here they present their firstborn son to the Lord. Jesus is thus consecrated as required by the Law of Moses. Present in the temple at this time are Simeon and Anna. Both are awaiting the restoration of God’s rule in Israel.
Simeon had been promised by the Holy Spirit that he would see Christ the Lord, the Messiah, before he died. The holy man immediately recognized the infant Jesus as the promised Savior, a “light for revelation to the Gentiles, and glory for your people Israel.” Anna also recognized Jesus as the fulfillment of the promise of redemption and spoke about him to all.
Excerpt, Loyola Press website