I often get told: nonprofits can't make a profit. I reply: that's not legally correct. Nonprofits can indeed make a profit from their activities but they must put their profits back into mission. What is correct: the board members can't financially gain from the profits of a nonprofit. Joyfully, the public must always be the winner.
Here's a good example of a nonprofit that is literally, profiting.