The purpose of the short scene between Herrick and the prisoners in the jail in the crucible is that it shows how bad the conditions are in Salem. I am hoping that this answer has satisfied your query about and it will be able to help you, and if you’d like, feel free to ask another question.