Nouns ending in -ment are masculine.
The suffix often marks an action or result derived from a verb.
Il a trouvé un bel appartement pour Mary.
He found a nice apartment for Mary.
Récemment, j'ai emménagé dans un nouvel appartement.
Recently I moved to another apartment.
Nous déménageons de cet appartement le mois prochain.
We're moving out of this apartment next month.
FrenchTextbook teaches rules like this, in a full beginner course.
162 lessons, 4,000+ exercises, and 6+ hours of audio.
Try the first lesson free