Criminalistics II

How do jails differ from prisons? What is the relationship between jails and prisons, as they relate to community corrections? What would happen if jails and prisons were combined into one large correctional facility? Explain.