Carbon dioxide is a compound. It is composed of two elements, carbon and oxygen. The carbon and oxygen atoms are chemically bonded together to form a molecule of carbon dioxide. A mechanical mixture is a mixture of two or more substances that are not chemically bonded together.