The dog stands on her toes like a dancer. What kind of figurative language is this? What is the author trying to say?

This is a simile. The author is trying to convey the image of the dog standing in a graceful and elegant manner, similar to that of a dancer. It also highlights the agility and lightness of the dog's movements.