divertir
amuse
divert
to turn aside
+
-ir
verb ending
Divertir means to amuse and can be thought of as divert0 (to turn aside0) + -ir1 (verb ending1), like turning someone's attention aside to entertain them.
verb
  1. amuse
    To amuse or entertain someone.
    Los payasos intentaron divertir a los niños en la fiesta. // The clowns tried to amuse the children at the party.