Tensors in general relativity