Compounds are made up of two or more elements combined in definite quantities and in definite proportions by chemical bonds. The law of definite proportions states that a given chemical compound always contains its component elements in fixed ratio by mass or weight and does not depend on its source and method of preparation.