Humans know the Common language. All other creatures which can speak have their own language of their Creature type, although 20% also know the Common one.
Law, Chaos, and Neutral alignments each have a language known only to creatures of the same alignment.
Creatures who speak the language of Law, Chaos, or Neutrality will recognize a hostile language and attack the speaker.