I am taking a class, and I can't understand what part of these sentences are saying.
EXAMPLES:
おかねを だしに、ぎんこうに いきます。
はなを かいに はなやに いきます。
せんせいと はなしを しに びょういんに いきます。
てがみを だしに ゆうびんきょくに いきます。
くすりを かいに くすりやに いきます。
Here is my issue, I don't know what the word is after the particle を is. Example "かいに, だしに, or しに" What does this mean? I need to write some sentences similar to this and I am not sure how to properly organize the sentence because I don't know what this means. Thanks!

