How do you translate into Spanish?

Cats like playing in the sun

The correct translation is:

   A los gatos les gusta jugar al sol