Just like people, they need a break to have fun, and tricks allows you to do that while still teaching your dog something.
For example, many people teach their dogs to weave in and out of their legs, jump through their arms, walk backward through their legs, etc.