He spends his free time + He plays chess in his free time = He spends his free time playing chess. 'To play' is not appropriate here. Compare: He spent all his money to buy a new bike, where the infinitive expresses purpose.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.