The geologist studied the volcano that was close to erupting. What kind of energy is in this situation?

In this situation, the type of energy present is primarily geothermal energy. This refers to the heat energy generated and stored within the Earth's interior, particularly in volcanoes and volcanic regions where magma and hot rocks are present.