The Deformed Hermitian–Yang–Mills Equation in Geometry and Physics