Without further context, I’d vote for this as most likeliest reason, esp. if it’s a small closed room.
The second runner-up would probably be complications from loosing too much water through sweat.
I just watched a lay-science TV report about how to deal with high heat*. They referenced the infamous case of AC breaking down in several ICE trains** in the hot summer of last year, where the temp.s inside the trains went to over 40 C and passengers had to be treated en masse for heat shock and heat exhaustion.*** They compared a family with two children and a group of teens, and also put three volunteers - an overweight mid-thirty guy, a young and an old woman - into an artificial climate chamber and raised the temp. to 50 C with a doctor explaining which strategies are best.
Turns out that keeping your skin covered with clothing is better than the bikini look, because it conserves water (sweat) with a layer (and of course the Arab Djellaba and similar long flowing robes/ dresses bring lots of cool air to the skin. (The other tips were drinking a lot, which the teens hadn’t prepared for; and laying down and resting instead of running around).
*obviously made in advance and broadcast by optimists, since so far June and July have been rainy and overcast, and August isn’t starting out sunny, either.
** As it turned out, the important AC - because due to the high speed of up to 300 km/h, the cabins are pressure-sealed, so windows can’t be opened to get air inside, instead, AC is built in - could handle all temps. fine, unless it got hot: they were designed for temps. up to 32 C, which might have been hot enough in the 80s, but with climate change bringing hotter summers; and with the sun shining on metal heating the trains up far beyond air temp., the Bahn did realize belatedly that maybe it would be a good idea to put in ACs capable of working with higher temps., too. If they get around to it, because well, lots of trains, little money yada yada usual excuse for incompetence and lack of giving a damn about their passengers…
*** The technical problems were compounded by the usual incompetence of the Bahn: the local ticket collector on the train doesn’t dare make his own decisions because management has come down hard on them in the past; and despite being in contact by radio with stations and presumably headquarters from there, nobody decided to stop the train at the next station to let things cool off, to distribute water from the bistro in the train for free or do any other things they could have done to minimize health damage to their passengers.
Courts decided they have to pay injury money to passengers who had to go to hospital from being overheated, which hopefully will cause them to think and act different next time.