Difference b/w apply(),applyComponent,For Each loop

Hi ,

 

Can anyone share some good example to differentiate b/w apply(),applyComponent,For Each loop.

 

Please don't share any documentation link as i am not getting clarity by seeing that.

 

If possible plz use any small dataset to give an example. This always confuse which one i should use on what scenario.

 

  Discussion posts and replies are publicly visible