How does your penis get hard?

Your body pumps blood into it until it grows hard,