Introduction
Sometimes, a task might fail temporarily. Retry helps try the task again until it works or a limit is reached.
When reading a file that might be temporarily locked.
When connecting to the internet and the connection fails.
When asking a user for input until they give a valid answer.
When calling an external service that might be busy.