It's a form of the verb "to be" and acts as a linking verb, connecting the subject "It" to the predicate adjective "warm".