When people look for information online, they use search engines like Google. They can ask any question, and Google will find a bunch of websites that answer it.
If you want to see your website in one of these lists, SEO helps you put it there.