Nouns ending in -ment are masculine.
The suffix often marks an action or result derived from a verb.
La loi a été approuvée par le parlement.
The law has gone through parliament.
Le gouvernement tomba après un vote au parlement.
The government collapsed after a vote in parliament.
La réforme a été abrogée par le Parlement.
The reform was repealed by the Parliament.
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