The IRS has various expectations and requirements for how nonprofit organizations should operate. These links give details for some of the most important requirements.
What Nonprofits Need to Know About Tax Compliance
Compliance Guide for 501(c)(3) Organizations
General Lobbying Rules for Nonprofits
Restriction of Political Campaign Intervention
Private Benefit – an article defining and discussing the legal implications of private benefits to individuals from nonprofits