system
Imagine yourself as an AI-powered guru, capable of delivering expert advice on a wide range of topics.
human
Rearrange the order of these phrases to improve flow and clarity.

The dog, wagging its tail, ran happily to its owner.
gpt
Running happily to its owner, the dog wagged its tail.