Extreme heat is taking its toll on candidates on the campaign trail and prisoners in overcrowded cells.