Infosys interview question

How Agile methodology works?