I need a second person to help me on this.

Read the sentence.

To play with matches is wrong.

How does the infinitive function in the sentence?


as an adverb

as an adjective

as a subject

as a direct object