What is the function of the infinitive in this sentence?

The team's goal is to win the state championship this year.

A)adverb

B)noun

C)adjective