Imagine you have a messy pile of books that you want to arrange neatly on a shelf by their size, from smallest to largest. Sorting algorithms are like different ways you might organize these books. Two simple methods are Bubble Sort and Selection Sort.
With Bubble Sort, you compare two books next to each other and swap them if they are in the wrong order. You keep doing this, moving through the pile again and again, until no more swaps are needed. It's like repeatedly checking pairs of books and pushing the biggest ones towards the end, like bubbles rising to the surface.
With Selection Sort, you look through the entire pile to find the smallest book and place it at the start. Then you look through the remaining books to find the next smallest, and place it next, and so on. It's like picking the smallest book each time and putting it in its correct spot.