Here's why:
* Infinitives are the base form of a verb, usually preceded by "to." They express the potential for action.
* "Was," "were," and "are" are forms of the verb "to be" in the past tense (was/were) and present tense (are).
So, "to be" is the infinitive that encompasses all these forms.