Loop:A loop is used for iteration and repeats a block of code multiple times until a certain condition becomes false.
While loop: A while loop is a type of loop that continues executing its block of code as long as its specified condition remains true.
For loop: A for loop is another type of loop that repeats its block of code for each element in an iterable object or for a specified number of times.