A tensor is a multidimensional array of numerical values used to represent data and model computations.
Tensors are fundamental in deep learning frameworks because they represent inputs, weights, activations, gradients, and outputs.