Is hot yoga safe?

Definitely a valid question if you don’t know why we heat the room.