Microsoft interview question

How does Agile methodology work?