D. oxygen is an example of an element.
Salt (A) is a compound made of sodium and chlorine, carbon dioxide (B) is a compound made of carbon and oxygen, and water (C) is a compound made of hydrogen and oxygen. Oxygen, on the other hand, is a pure element.