Ageing populations mean a lower proportion of people in the workforce, generating less income tax revenue to pay for pensions and welfare.