SEO can be used to improve the online visibility and traffic of both B2B and B2C websites. However, the strategies used may differ based on the nature of the business and its target audience.