HMRC marriage allowance works by reducing the personal allowance of the donor spouse or civil partner.