A compound is a substance composed of two or more different elements that are chemically combined in an exact ratio, making them inseparable by physical means. In contrast, a mixture consists of two or more different substances that are not chemically bonded, allowing for physical separation.