Broken down to its basics, what is the main function of the purchasing process?

Broken down to its basics, what is the main function of the purchasing process?