Pregunta de entrevista de MITRE

How do DFS and BFS work and how do they differ?