It’s even deeper than this, because in some states, like Georgia, you’re “rewarded” with good time and a higher chance of parole.
Good time means you get to exit the prison for things like visiting family.
The prisoners are coerced to work for sub-human wages because, if they don’t, they stay in prison longer and can’t see their loved ones.