YOU SAID:
she went to the park with her friends to buy a bag.
INTO JAPANESE
彼女は友達と一緒に公園に行ってバッグを買った。
BACK INTO ENGLISH
She went to the park with her friend and bought a bag.
INTO JAPANESE
彼女は友達と公園に行き、バッグを買った。
BACK INTO ENGLISH
She went to the park with her friend and bought a bag.
That didn't even make that much sense in English.