Selling branded merchandise helps raise awareness, promote open-source projects, and generate revenue for organizations like the Mozilla Foundation and Wikimedia Foundation.