“A Primer on Image Histograms and Curves” is an excellent tutorial on what does it take to make image perfect. First application of histograms and curves is at scanning images into the computer. There are plenty of others, of course, such as fixing colors, changing the appearence, and creative touch.
If you do anything above rotating or scaling images, read the tutorial – you won’t regret.