compounds are pure substances that by definition consist of