What is the purpose of on-the-job training programs found in some prisons?

A. To rehabilitate prisoners.
B. To help pay for the expense of keeping them in jail.
C. To keep the inmate occupied while in prison.
D. To help the inmates return something back to society for their crimes.