describing the purpose of jails in society. Is the current system effective?

That depends on what you think the purpose of jails is, and how you measure effective.

Has crime been reduced in the past years?

Has the number of those in jails been reduced?

Has the drug trade reduced?

Has jail changed behaviours?