The IRS defines a 501(c)3 organization as a non-profit or charitable organization.
The organization "must not be organized or operated for the benefit of private interests, and no part of a section 501(c)(3) organization's net earnings may inure to the benefit of any private shareholder or individual".
Here are the Exemption Requirements.