The tangent (tan) of an angle in a right-angled triangle is defined as
The ratio between the lengths of opposite side of the angle to its adjacent side.
The tangent of an angle in a right angle triangle is the ratio between the lengths of perpendicular and base.
So, here in right triangle ABC, tangent of angle A or tan A= BCAB,
BC = opposite side of angle A
AB = adjacent side of angle A