What does ‘hoosegow’ mean?

( n ) Jail or prison. You had better be careful that you don’t end up in the hoosegow.