A compound is formed due to the chemical combination or chemical reaction between two or more elements. The elements forming a compound cannot be separated by physical means. The properties of the compound is different from the properties of the elements forming it.
Based on this, the answer would be:
They are different.