What is the type of infinitive phrase is it? a noun, adj., or adv.?

The hill above the town is the best place to watch the fire works.

"To watch the fireworks" modifies the noun, "place." What does that tell you?