Pension is earned income and is taxed like a salary, although the contributions and deductions are different.