The electromagnetic tensor, also known as the Faraday tensor, is a mathematical object in the field of electromagnetism that encapsulates the electric and magnetic fields into a single antisymmetric rank-2 tensor. It is an essential component of the framework of relativistic electrodynamics and is fundamental in the context of both special and general relativity.