A compound is composed of two or more elements chemically bonded together in fixed proportions that can be represented by a chemical formula. Compounds have distinct properties such as melting and boiling points and are either formed by the release or absorption of energy. Common examples of compounds include water, carbon dioxide, sodium chloride, and calcium carbonate.