Elements combine to form compounds. A compound called calcium carbonate with the formula CaCO3 has a fixed proportion by mass of calcium, carbon and oxygen (in 10:3:12 ratio). Any proportion that is different from this is no longer called calcium carbonate because the chemical nature of the compound changes.