You have to configure an SMTP in order to send emails from your site. By default, emails are sent using the WordPress mail function but it isn’t fully reliable. So, an SMTP will ensure proper email delivery. There are quite a few SMTP plugins like WP Mail SMTP, Post SMTP, FluentSMTP, etc. that you can install on your site.