After the birth of Jesus, Joseph, Mary and Jesus travel to Jerusalem. The law of Moses prescribed for the mother to perform a purification ceremony forty days after giving birth to a son (Leviticus 12:2-8).
Mary needed to go to Jerusalem and make her offering. Notice that the command was to offer a year old lamb as a burnt offering and a turtledove for a sin offering.
To read more of this lesson click here.