A non-profit organization can solicit donations big and small, via grants, memberships, and other common mechanisms.
A non-profit organization can also sell things at a markup. There are alarmingly profitable for-profit tote bag businesses riding the back of non-profits everywhere.