TextEdit is a text editor, which has had an optional WYSIWYG word processing mode added to it --- hit cmd shift t to go into text edit mode.