Who is the president of the Senate? When does he vote?

The president of the Senate is the Vice President of the United States. The Vice President only votes in the Senate in the event of a tie.