YOU SAID:
I am going to the store to buy bananas.
INTO JAPANESE
私はバナナを買うために店に行きます。
BACK INTO ENGLISH
I'm going to the store to buy bananas.
INTO JAPANESE
バナナを買いに店へ行きます。
BACK INTO ENGLISH
I'm going to the store to buy bananas.
That didn't even make that much sense in English.