What does the nucleus do in the sperm cell?

What does the nucleus do in the sperm cell?