From Algebraic Structures to Tensors