A woman in a brown strip is taking a swing with a baseball bat at a yellow ball, whilst another woman is waiting on the sideline.
Someone is swinging a bat.
"Swinging a bat" is simply a different way of saying "taking a swing...bat".
(-x)
(-x)