Cognizant Interview Question

Explain the Bubble sort algorithm