How does digital currency get its value?

How does digital currency get its value?