Breakdown of Ayer al niño se le derramó el líquido.
el niño
the boy / the child
a
to
le
to him / to her / to you (formal) / him (direct object, male person)
se
himself / herself / themselves (reflexive)
ayer
yesterday
derramar
to spill
el líquido
the liquid
Elon.io is an online learning platform
We have an entire course teaching Spanish (Spain) grammar and vocabulary.