A compound is a substance that contains two or more elements chemically combined in fixed proportions by mass. In a jar with sulfur and iron, the two substances are not chemically combined. They are simply mixed together. Therefore, the jar does not contain a compound.