Why is 的 used in 你想要什么喝的吗?
Here, you could think that "的" converts a verb (i.e. "喝"/drink) into a noun, i.e. something for drinking.

But notice the "的" after "是" is different, it is more of an interjection, and does not have additional meaning.