Infosys interview question

What is bubble sort algorithm?