According to Wellcome Collection, this painting depicts "The punishment room at Woking Convict Invalid Prison. The woman stands alone in a padded cell with her arms outstretched and her fists clenched."
Convicted women are working the fire pumps. The lettering suggests the women pumping the fire pumps are some of the strongest inmates. There is some speculation that these women are in prison for infanticide.