c-shell costructs

hi. I would be glad to know what is the purpose of such c-shell constructs as foreach, while, and if. Their general purpose.
thanks, Denis

http://www1.fatbrain.com/FindItNow/Services/home.cl?from=HAN515&store=1

or

http://www.eng.hawaii.edu/Tutor/csh.html