Table salt is sodium chloride, a compound which is different in properties from its constituent elements sodium and chlorine. Sodium is highly reactive element while chlorine is a reactive poisonous gas. But table salt made from sodium and chlorine is safe to consume.