Your P45 Explained
A P45 is what your employer gives you when you leave a job. It shows your leaving date, your tax code, and your pay and tax from that job so far in the tax year (6 April to 5 April). Give it to your new employer (or to Jobcentre Plus, if you're not moving straight into another job) to help them tax you correctly from your very first payslip, rather than on an emergency code. HMRC withdrew pre-printed paper P45 stationery in 2019. Today's P45s are generated by payroll software, but the fields and layout below are what every P45 still contains.
If you're checking a P45 partway through the tax year, you might also want to see Your P60 Explained, the equivalent year-end summary you'd get instead, if you'd stayed in the same job through to 5 April. And if handing over your P45 late meant a spell on emergency tax, see Your P800 Explained for how that kind of overpayment usually gets sorted out.