explain, what is meant by the comparsion

The water started boiling as kids grabbed struts and dove underwater. It kept boiling as they came up for air again and again, slowly realizing they needed a better plan.” Question: the author uses a metaphor when she describes the water as “boiling.” Interpret, or explain, what is meant by the comparsion. Write your answer using complete sentences