A Phoenix, Arizona sunset after a hot day.

Phoenix is one of the hottest cities in the United States, but this month has been particularly intense, and it has broken an overnight heat record. It was so hot at night that it was the first time this had happened. The previous night's temperature was 5 degrees F hotter.

The U.S. and Europe are experiencing heat waves, with temperatures soaring past 100 degrees in several Spanish and French cities, while dangerous temperatures are affecting more than a third of Americans.

The temperature at night can have a bigger impact on heat exhaustion and heat stroke than daytime temperatures.

Nightfall is supposed to be a buffer from heat waves. The body doesn't get any relief before the next day's highs when there is no respite from the heat. In dense cities that experience the heat island effect, the heat can compound if it isn't mitigated with cooler night temperatures. People with no access to air conditioning are particularly vulnerable to dehydration and heat stress.

The EPA says nighttime temperatures have risen quicker than daytime temperatures. Despite the fact that the desert city is used to heat, it is a serious concern. There were 30 heat-related deaths in April. The number of heat deaths is more than last year.

Our ability to get a good night's rest is affected by the overnight heat. According to a study published last month, people around the world have lost an average of 40 hours of sleep a year due to elevated temperatures. The strain of this is felt by poorer countries and communities.

A study published in February shows that too much heat is related to a spike in mental health emergencies. Researchers found that people who are already stressed and struggling with their mental health could end up over the edge.

The National Weather Service has issued excessive heat warnings for several areas in the Southwest due to the heatwave. The wave is hitting other cities as well. In Columbus, Ohio, the temperature has reached a record-breaking 97 degrees, causing power failures. According to Houston Public Media, Austin and San Antonio are both baking under 105 degree heat, and it is only about a degree or two cooler in the shade. The city of Nashville set a record for the hottest day of the year on June 14 with a temperature of 97 degrees.

People in the region have been told to stay indoors as much as possible and to drink more water.