Another way to say "a basketball is used for playing a game" is "to play a game, you can use a basketball"