There's a great piece by NPR a few years ago on the topic where they explain the process:
http://www.npr.org/sections/money/2010/08/26/129451895/how-t...