A while loop in Python is a type of loop that repeatedly executes a block of code as long as a given condition is true. It allows programmers to write code once that gets executed multiple times to save time, rather than writing the same code over and over. A while loop continues running its code block until the condition set for it becomes false, relying on boolean values of true or false to determine when to stop iterating.