A 501c3 organization's purpose must be charitable, educational, religious, scientific, literary, testing for public safety, fostering national or international amateur sports competition, and preventing cruelty to children or animals.