To swing something means to move it back and forth or from side to side.
He can swing a golf club very powerfully.
Example picture