German grammar is the grammar of the German language.
A German noun has one of three specific grammatical genders (masculine, feminine, neuter). Nouns are declined for case and grammatical number. All nouns are capitalized.
German has all three genders of late Proto-Indo-European—the masculine, the feminine, and the neuter. Every German noun takes one of these genders. The grammatical gender of a German noun does not necessarily correspond with the real-life object's sex (or lack thereof). Nouns denoting a person, such as die Frau ("woman") or der Mann ("man"), generally agree with the natural gender of what is described. However, since every German noun ending with -chen or -lein is grammatically neuter, there exist several notable counterexamples such as das Mädchen ("girl") and das Fräulein ("miss"). Thus these are not illogical, whereas das Weib (old, regional or anthropological: woman) is really an exception. In addition, German assigns gender to nouns without natural gender, in fairly arbitrary fashion. For example, the three common pieces of cutlery all have different genders: das Messer ("knife") is neuter, die Gabel ("fork") is feminine, and der Löffel ("spoon") is masculine.