San Francisco taxes businesses based on gross receipts and payroll as well as business personal property like machinery, equipment or fixtures. Some businesses may be required to pay additional taxes based on their business type (e.g. hotels, parking) or business personal property.
The State of California doesn’t just collect sales tax. It also has a franchise tax, corporate income tax, and alternative minimum tax. Which taxes apply to you and how you pay them depends on your business type.