“Salva’s mouth opened and closed as if he was a fish.”

What type of figurative language is being used in this
sentence?

Book: A Long Walk to Water