Decision problems are closely related to function problems, which can have answers that are more complex than a simple 'yes' or 'no'.
Every function problem can be turned into a decision problem; the decision problem is just the graph of the associated function.