Marble is primarily composed of calcium carbonate (CaCO₃), which is a chemical compound with a fixed ratio of calcium, carbon, and oxygen atoms. It is not an element (single type of atom), a mixture (variable composition), or an alloy (metal mixture). The correct answer is B because marble has a definite chemical formula.