The reason for this, which I think most westerners won't immediately understand, is because Japanese (and Chinese scripts in general) doesn't use spaces nor capitalization.
What do I mean by "doesn't use spaces no capitalization"? Think of English, but without either: canyoureadthiseasily?ididn'tthinksoeither.nobodywriteslikethisinenglish. A sentence written purely in hiragana reads like that.
Kanji serves the same function spaces and capitalization does for us, they distinguish individual words from each other.
Some words are written entirely in hiragana for brevity or style, but generally speaking the purpose of hiragana is to string the kanji together and add contextual information so the sentence flows well.
On that note, all foreign words are written in katakana, and katakana is also used for emphasis, similar to ALL CAPS or bold writing in English.