The phrase 'on the ball' is a used to say when someone understands the situation very well.
Example in use: "Dana is totally on the ball since she started taking her vitamin supplements every day."
It's easy to see why this phrase originated from the sport. During a game, it's used to say to that one should remain focused on the game.