In the diagram below the red arrows represent
Tension T acting vertically upward, applied by the string on the ball and Gravitational pull (mg) acting on the ball acting vertically downward
The force of gravity due to earth applies a vertically downward force on the ball. The ball in turn exerts the same force on the string. The string applies a reaction force on the ball. This reaction force is called Tension.