Scientists finally understand hot flashes—and how to stop them