American Express interview question

How does a decision tree work? Describe in detail.