Frogs are ectothermic amphibians which means they use surrounding temperature to regulate their body temperature.
If we place a frog in a container of water and slowly heat the water, the frog will stay put while regulates their body temperature.
Just when the water about to reach the boiling point, the frog decides to jump out of the container.
Unfortunately, its legs give out and it can't jump out and died in the container.