Identify whether the infinitive form is used as a noun, adjective, adverb.

To win was the tennis player's goal
a) adverb
b) noun
c) adjective