They're not the same thing at all. In fact they're really quite different. A hyphen is used to join two words together that describe a noun. They help us avoid confusion when writing sentences.
A hyphen ( - ) is used to link parts of a compound word. This includes most dual heritages (Mexican-American), and all words in a compound modifier except "very" and adverbs that end in "ly." (The ...