Hiragana is a phonetic alphabet, like the English alphabet. Kanji represent meanings and have 2+ ways to pronounce each one. This is kind of a hard question to answer, because they're completely different. Japanese writing consists of a mixture of 3 writing methods, Hiragana, Katakana, and Kanji. If you want to read in Japanese, you need to learn all three. Hiragana is always learned first, and is moderately easy. Kanji take years to learn. I currently know 550~ kanji and am not even halfway to my goal of 2000.
Your question is really broad, but i hope I've helped. I'd recommend you find some structure for your learning, as any textbook and most online resources would tell you to start with hiragana and would explain it all much better than me. Also you can google/wikipedia the three writing methods for tons more information. Good luck with your studies!