Many nonprofits undertake 'business' activities, and most are 'business-like' in their work.
If you are a business, you are not non-profit as defined under the Internal Revenue Code. These laws don't exclude business-like activities. In fact, most of the time they expect it. Generally, it's the federal law that you're dealing with when you consider income and income-taxes. These provisions vary widely among states and experience gained in one may be totally useless in another.