What is the meaning of [On the ball]

If you look at this phrase literally, it means to be either standing or sitting on a ball—but who would do that? If you’re on the ball it means that you’re very quick to understand certain things, very prepared for something or react quickly (and correctly) to a situation.