give me three sentences using a comma in a different way

1. Despite the rain, they decided to continue their picnic in the park.

2. Sarah, my best friend from childhood, surprised me with a visit.
3. The dog, wagging its tail, approached the children at the playground.