A child on a swing.
The child is playing with friends on the swing.
Just because a child is on a swing doesn't mean he is playing with friends on the swing.
playing on a swing doesn't imply that they are playing with friends.
Not all children play with friends while on a swing.