Which is an example of an instinct?

A rabbit hides when it observes a predator.
A dog wags its tail when it hears a doorbell ring.
A boy pulls his hand away after touching a hot surface.
A dolphin swims through a hoop during an amusement park show.