Deskew, also called auto straighten, is the automatic rotation of an 
image such that the text is vertically aligned. This is great for 
cleaning up scanned documents. 

Deskew can be found in the Filters > Misc menu in the GIMP.
