A stranger at a restaurant says the salt you're sprinkling on your food is made up of sodium and chloride. Therefore, you are putting an inorganic compound on your food. Why is the stranger correct?
An organic molecule is any molecule containing at least one carbon atom bonded directly to a hydrogen. Therefore, since table salt lacks both the necessary carbon atom and carbon-hydrogen bond, it is inorganic, that is, not organic.