between two oppositely charged ions
When you heat up most substances it gives them more Kinetic energy and the substance becomes less arranged in an ordered state, further apart and move faster. therefore the answer is the first: They gain a higher average kinetic energy
Hope that helps :)