In French, the word for ‘child’ is enfant, which is a masculine noun, although it can refer to both male and female children.
The reason behind this is that many nouns in French do not change form based on gender. Instead, they include a definite or indefinite article to specify gender when necessary. For example, you would say un enfant for a male child and une enfant for a female child.
However, since the term enfant remains the same regardless of the child’s gender, the noun itself is considered masculine. This illustrates an interesting aspect of French grammar, where gender can affect articles and adjectives, but not the noun in certain cases.