The comparative degree is used to compare two things or situations. In this sentence, the two things being compared are the heat yesterday and the heat today. The word "worse" is used to indicate that the heat yesterday was more severe or intense than the heat today.