Bonjour
In French, all nouns have a gender, either masculine or feminine
this comes from the language's Latin origins.
Some are or feminine or masculine.
Some can be both and, so have a different meaning whether they are masculine or feminine.
exemple =
un mousse (a ship-boy) une mousse (foam)
un moule (a mold) une moule (a mussel)
un voile (a veil) une voile (a sail)
So, no, it's NOT the same thing !!!!!!
....
It's important to learn them to agree adjectives, pronouns, articles .....
Some masculine nouns can have a feminine equivalent.
un boucher --> une bouchère (butcher)
un boulanger -> une boulangère (baker)
☺☺☺☺