Why do we test chemicals and experiments on animals instead of prisoners?

All the cosmetics and testing treatments for diseases and other activities scientists use are white rats and other animals that leads them to be killed or permanently damaged. I find this to be animal cruelty, I'd rather see violent prisoners go through such grizzly experiments. In ww2, Japan had a facility in Manchuria where they used Chinese and mongolian and Russian and American and British civilians and soldiers for experiments called unit 731, why don't we replace the death penalty for violent prisoners and use them as marutas like Japan was doing in ww2? a lot of our modern medicine is attributed to the data collected when we offered Shiro ishi clemency for his crimes against humanity by handing over the results of the experiments he had done on Chinese people.
Why do we test chemicals and experiments on animals instead of prisoners?
Post Opinion