What is the major function of the enzyme tyrosine hydroxylase?

What is the major function of the enzyme tyrosine hydroxylase?