Like tjb1 said, TextEdit is the default text editor in OS X.
There is an app called Pages in the App Store (if you didn't know already) that is basically a much more advanced version of TextEdit that you can do a lot more with much more simply, for $19.99.