Nouns have a gender, and you just have to know it. Most feminine ones do end in an "e", however.
For example, the word for "man" is masculine:
der Herr
And, the word for "woman", feminine:
die Frau
Those are predictable ones, but there are ones you just have to know:
das Zimmer (the room)
die Zeit (the time)
die Fahne (the flag)
das Buch (the book)
der Stuhl (the stool)
Vas nien von gerg vissef erk kock.
c:
what the hell is that, that's not even german