In Arabic everything is either masculine or feminine even the non-living things. There is no concept of it, everything is just he or she. We need to know the meaning of a word to know if it is masculine or feminine. If it is living we can easily say if it is male or female.