她锻炼时扭伤了脚踝。

She twisted her ankle while she was doing exercise.

Source: Tatoeba

Sentence Composition