In programming, you will define several steps to accomplish specific tasks. In some instances, you will need to continue those steps for n times until it meets a particular condition. So what will you do: Enter the same code again and again till the prerequisites are met (or) Will you input one code and let it repeat on its own till the conditions are met You probably will choose the second option because why would you lengthen your code by entering the same code multiple times. This process in which the programmer enters a block of code and instructs the program to repeat the step several times till the specific condition is met is known as iteration.