Step-by-step explanation:
When two or more atoms of different elements chemically come in contact with each other then it results in the formation of a substance known as compound.
For example, HCl, NaCl,
are all compounds.
Elements present in a compound can only be separated by chemical method and they cannot be broken down into simpler substances by physical means.
Thus, we can conclude that compound is formed when elements of matter are chemically combined.