Answer: Both
Explanation: It can be literal such as baseball or figurative as in she did well on something.