Lets say one is to raffle a car to raise funds for a particular purpose, do you have to get a governemt fundraising number?

What is the exact purpose of this number?

When and why would one apply for such a number?

Could one apply for such a number only if the funds raised will be used for a very narrowly defined accepted purpose?