This is a very basic concept, but something I have never been able to articulate that well. and I would like to try to spell it and see where I go wrong.
I think this post by Jeff Attwood addresses your question perfectly. It takes you through the differences between newlines on Dos, Mac and Unix, and then explains the history of CR (Carriage return) and LF (Line feed).