Here's why:
* Noun: The core word "play" is a noun, referring to a theatrical performance.
* Determiners and Modifiers: "The" is a definite article, and "first" is an adjective modifying "play."
* Function: The entire phrase acts as a noun, representing a specific object or concept.
Therefore, the whole phrase "the first play" functions as a noun in a sentence.