SEO helps search engines understand your content.
Google’s SEO Starter Guide describes SEO as helping search engines understand content and helping users decide whether to visit. It is not a way to buy an organic position.
Google Search Central · SEO Starter Guide