Solids are generally better conductors than liquids and gases since in solids the particles are arranged close together and therefore heat energy can be/is transferred through conduction when the particles gain heat energy and vibrate faster, colliding with their neighbor and transferring the heat/thermal energy to them.