And what happens to people who don’t have UK citizenship but have an EU one?
If they've been in the country for at least 5 years with a clean record they can get the Indefinite Leave to Remain which lets them live in the country permanently. From then on they need to do the Citizenship test to get the passport.