Introduction
A for loop repeats a set of actions for each item in a list. In Ruby, it's not used often because other ways are simpler.
When you want to do something with every item in a list, like printing each name.
When you have a fixed range of numbers and want to repeat actions for each number.
When you prefer a clear, simple loop structure instead of more Ruby-specific methods.
When learning basic programming loops before moving to Ruby's more common methods.