MITRE interview question

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