

The tension force comes into role when the object is connected through any string, rope or cable.
Tension force acts away from body in line with string, rope or cable.
It acts in the opposite direction of weight.
So by making free body diagram ,in which show all the forces on body with proper direction, we can get the tension.
