'For' loops are controlled by a built-in counter and are used where the number of repetitions is known before the loops is executed. Some problems involve repetition based on a condition whose occurrence is unpredictable. For these problems,a pre-test loop is used with an appropriate condition.