Answer:
When an action will be repeated for a specific number of repetitions
Explanation:
in general a while loop is used if you want an action to repeat itself until a certain condition is met i.e. if statement. An for loop is used when you want to iterate through an object. i.e. iterate through an array.