It's called a Part 107 Knowledge Test / Certification. You can find some more information about the test at the following links. I believe it costs around $150 to take. There are a lot of videos on YouTube about it as well.
A Part 107 license would be needed to fly for any sort of monetary gain in the United States. The links that Adam Flurk provided are a good starting point.