The kana writing system consists of two syllabaries in Japanese, known as hiragana and katakana, used for phonetic representation of the Japanese language. Each syllabary serves distinct functions: hiragana is primarily used for native Japanese words and grammatical elements, while katakana is used for foreign words, loanwords, and onomatopoeia. Together, they complement kanji characters in written Japanese.