It is an inflection of be. It is an auxiliary verb ( it must always be accompanied by another verb ). They were, it is an ancient Indian historical city in the District of Sagar in Madhya Pradesh State.