What am I?

I work when I play and play when I work