- Heat energy can change the state of matter
- Heat is a kind of heat energy
- Therefore, heat can change the state of matter

- Heat can change the state of matter
- Solid is a kind of state of matter
- Liquid is a kind of state of matter
- Therefore, heat can change a substance from a solid to liquid

- Heat can change a substance from a solid to liquid
- Melting means a substance changes from a solid into a liquid by increasing heat energy
- Hence, heat can cause a solid substance to melt

- Heat can cause a solid substance to melt
- Ice is a kind of solid
- Hence, heat can cause ice to melt

- Heat can cause ice to melt
- The sun is a source of radiation / heat called sunlight
- Therefore, the heat from the sunlight cause ice to melt

So, the heat from the sunlight cause ice to melt
Question
A student had a cup of ice while working outside. After a while, the ice melted because the Sun emits energy in the form of light and

Context
- Ice is a kind of solid 
- Melting means a substance changes from a solid into a liquid by increasing heat energy 
- Heat energy can change the state of matter 
- Heat is a kind of heat energy 
- Solid is a kind of state of matter 
- The sun is a source of radiation / heat called sunlight 
- Liquid is a kind of state of matter