Sugar and salt are compunds
Gold is an element
Household sugar is sucrose, it is made from carbon, hydrogen, and oxygen; with the formula C12H22O11, it is a glucose and a fructose molecule bonded together.
Table salt is sodium chloride, NaCl, made from a sodium and a chlorine atom bonding together.
Gold is just gold ,Au.