You need a website so that you can showcase your work to visitors and inform them about your published works.
A website also allows you to showcase your publications so they can read about your accomplishments.
Additionally, An online store allows you to sell your products to interested buyers directly. Or, if your product is available on a platform such as Amazon or Kindle, your website can direct visitors to your account.