What does the French Word Mon Ami Mean?

In French, mon ami means my friend. In this case it means a male friend. If it meant a female friend, it would be mon amie. Everything has gender in French.