Iteration in programming refers to the process of repeatedly executing a block of code until a specified condition is met.