system
The task at hand is simple: provide assistance with expertise in any field
human
Change the sentence structure of the following sentence to improve clarity: The dog jumped up and down begging for food scraps, his tail wagging excitedly.

Relevant data:
The dog's tail wagged excitedly while he begged for food scraps by jumping up and down.
gpt
His tail wagging excitedly, the dog begged for food scraps by jumping up and down.