The swing rocked like a baby learning to walk what is thethat simile metaphor or personification

The phrase "the swing rocked like a baby learning to walk" is a simile. A simile is a figure of speech that makes a comparison using the words "like" or "as" to directly associate two different things that share some similar characteristics. In this case, the swing is being compared to a baby learning to walk, suggesting that the swing is moving back and forth with a similar unsteady motion.