Pregunta de entrevista de Atlassian

How does a decision tree work?