I am rather new to the German language but I have been following it since I have an interest in it. The first problem I encountered in my studies is that I couldn't help but wonder, how does the German language differentiate the gender of nouns and other words. Is there a pattern or is it just pure classification?
Differentiate the gender of nouns: Here one has to deal with it, you just have to learn the gender of almost every substantive (although there are a bunch of rules [albeit with exceptions], which in very few cases help to you to determine it).
"Other words": Only nouns have a gender. Some of the "other words" sort of acquire a gender when combined with a noun. At a beginner's level, all words you need are registered in the respective Wiktionary's entry to that word. For instance if you need rot (red) you to to:
and after opening it by a second time you no longer wonder about the many entries : )