My, your, his, her, our and their come before nouns to show ownership. Her describes a female owner, not the gender of the object.
Practical examples
This is my bag.
هذه حقيبتي.
Her office is upstairs.
مكتبها في الطابق العلوي.
Our train leaves soon.
قطارنا يغادر قريبًا.