Sodium chloride will conduct electricity only when it is in a liquid state or in solution, this is because the ions are free to move in this state, allowing them to carry charge and conduct electricity. Sodium metal will conduct electricity in both a solid and liquid state, due to 'a sea' of delocalised electrons which can move and are able to carry charge.