A compound is a substance formed when two or more chemical elements are chemically bonded together. These bonds can be ionic or covalent. Compounds have fixed ratios of elements and distinct properties different from their constituent elements. Common examples include water (H₂O) and carbon dioxide (CO₂), essential in biological and environmental processes.