Use an RFP when sourcing software

How do companies use an RFP when sourcing software? What are the key items that should be included in the RFP?