Sort:  

The hiragana is used for japanese word and the katakana one is used for foreign word, usually used for writting foreign name.

thank you :)