Most employed people in the UK pay ‘national insurance contributions’ which pay towards public services and social security (welfare benefits). You need a national insurance number before you can start making contributions.
The number will make sure your contributions and tax are recorded against your name, which will help to ensure you receive the correct pension.
Most asylum seekers and refused asylum seekers are not eligible for a national insurance number because you do not have the right to work.