Kanji were adapted to write Japanese
By the fifth century, Chinese texts and characters were being used in Japan. They reached the Japanese archipelago through centuries of exchange across East Asia, including the Korean peninsula.
Chinese and Japanese have different structures. Japanese words may have several syllables, changing endings, and grammatical particles. Japanese writers therefore adapted Chinese characters to fit their language.
One solution borrowed a character only for its sound. 安 (AN / ya-su-i, “peace; inexpensive”), for example, could represent あ (a). This system was called man’yōgana (man-yō-ga-na). It worked, but its complex characters encouraged the development of simpler kana.