in lesson 3, loops

cout<<x<<endl;

cout<<x; makes perfectly sense to my, but why adding <<endl, what does it change? it can't be a variable since it never gets defined.

if it's something like endlOOP.. that makes no sense to me either since } ends the loop, in a further code there even is written x++; below it... anyway, i'm confused. about that little thing.