YOU SAID:
i want to go to the store to buy apples
INTO JAPANESE
私はリンゴを買うために店に行きたい
BACK INTO ENGLISH
I want to go to the store to buy apples.
INTO JAPANESE
私はリンゴを買うために店に行きたい。
BACK INTO ENGLISH
I want to go to the store to buy apples.
That didn't even make that much sense in English.