Infosys Interview Question

Explain bubble sort in programming.