A pension plan is a type of retirement plan that is set up by an…