I have a general idea of how loops are used, but i'm not really grasping the fundamental truth of what they are and when they would like to be used outside of using them to incrementally increase a value of something like a variable.
any help/examples, etc would be appreciated. thanks
For loops are mostly used for when you know specifically how many times you want the code within it to run. While and Do-While loops will only run if a certain condition is met, with the exception of the Do-While loop running once before checking if that condition is met or not.
For loops are only useful because of the way you use them, you could replicate them with a while loop so they are not required. The idea is that a for loop will happen a number of times that is known in advance and a while loop will happen a number of times that is not known in advance, but that's just good practice - you can deviate if you want, but then people will be confused reading your code.