Thank you for the opportunity to help you with your question!
A jail is a city facility where pre-trial defendants that cannot make bail are housed while prison is a state facility that houses long-term felony offenders.
Jails operate work release programs, boot camps, and other specialized services while State prison systems operate halfway houses, work release centers and community restitution centers
b) Jail has release programs and boot camps and offer educational and vocational programs to rehabilitate them so that they become responsible while state programs depends on the inmates level of custody i.e minimum and medium security programs like work release programs and community restitution centers.
Please let me know if you need any clarification. I'm always happy to answer your questions.
Content will be erased after question is completed.