What’s the difference between a D# and an Eb? Even though they sound the same, what else is different about them?

What’s the difference between a D# and an Eb? Even though they sound the same, what else is different about them?