Prisons, jails and detention centers are placed in locations where environmental hazards such as toxic landfills, floods and extreme heat are the norm.