This is the 346th most frequent Persian word.
قم
Qom: A city in Iran, known as a religious and cultural center.
Here, 'قم' is used as a proper noun, referring to the name of the city.
قم شهری مذهبی در ایران است.
Qom is a religious city in Iran.
In this sentence, 'قم' is again used as a proper noun.
لطفاً به قم سفر کنید و اماکن مقدس آن را ببینید.
Please travel to Qom and visit its holy places.
Here, 'قم' is used in its imperative verbal form, meaning 'stand up' in Persian.