Let me proceed by example.
Let V be an n-dimensional real vector and V* be its algebraic dual, and suppose T: V \times V \rightarrow \mathbb{R} is a bilinear mapping, i.e., T is in V* \otimes V*.
Let \left\{ e_{1}, \dots, e_{n} \right\} be a basis for V. This basis can be used to define an array of numbers:
T_{ij} = T \left( e_{i}, e_{j} \right).
Let L: V \rightarrow V be an invertible linear transformation on V. Then \left\{ e'_{1}, \dots, e'_{n} \right\} with e'_{i} = Le_{i} is also a basis for V that can be used to define an array of numbers:
T'_{ij} = T \left( e'_{i}, e'_{j} \right).
Each member of the primed basis can be written as linear combintion of elements of the unprimed basis:
e'_{i} = L^{j} {}_{i} e_{j}.
(I have used (and will use repeatedly) the summation convention, i.e., the repeated index j is summed over.)
This gives
T'_{ij} = T \left( e'_{i}, e'_{j} \right) = T \left( L^{k} {}_{i} e_{k}, L^{l} {}_{j} e_{l} \right) = L^{k} {}_{i} L^{l} {}_{j} T \left( e_{k}, e_{l} \right).
Thus,
T'_{ij} = L^{k} {}_{i} L^{l} {}_{j} T_{kl}.
In physics, this expression is often used as the definition of a tensor.
Now consider an n-dimensional real differentiable manifold and let T be a tensor (of the same type as above) field. Suppose further that the bases above are coordinate tangent vector fields that arise from 2 overlapping charts:
e_{i} =\frac{\partial}{\partial x^{i}} and e'_{i} =\frac{\partial}{\partial x'^{i}}.
Then, by the chain rule, the change of basis relation is
e'_{i} = L^{j} {}_{i} e_{j} = \frac{\partial x^{j}}{\partial x'^{i}} e_{j},
and
T'_{ij} = \frac{\partial x^{k}}{\partial x'^{i}} \frac{\partial x^{l}}{\partial x'^{j}} T_{kl}.
This express is also often used as the definition of a tensor in physics.
A "metric" tensor gives a natural isomorphism between tangent spaces and cotangents spaces, their algebraic duals. In physics, this is used for raising and lowering of indices. See
https://www.physicsforums.com/showpost.php?p=871203&postcount=52" in the Foundations of Relativity Thread.
Regards,
George