Instructions: Given a scientific question, generate a correct answer to it.
Input: What kind of energy used heat from magma within the earth to heat homes or produce steam that turns turbines?
Output:
geothermal energy