to shine on the stage, a performer must create a dynamic connection with the audience.

How does the infinitive in the sentence function?

as a noun

as a verb

as an adjective

as an adverb