A P45 is a form provided by employers when an employee leaves a job. It includes details of earnings and tax paid during the employment, and is used to ensure correct tax deduction in any subsequent employment.