Why was Jesus presented in the temple?

Jesus was presented in the temple to the priest Simon, as he was dedicated there.