It is important to note that this word is gender-neutral and can also be used to refer to a husband. To specifically refer to a wife, you can use زن (zan), which means "woman".
However, it is more common and polite to use همسر (hamsar) when referring to a spouse, regardless of their gender.