How Compounds Conduct Electricity