Why WhatsApp needs templates
WhatsApp protects people from spam by limiting what businesses can send. Inside 24 hours of a customer's last message, you can reply freely. Outside that window, and for any message you start, you must use a template Meta has approved.
Templates are also how WhatsApp prices messages. Each one has a category: marketing for offers and announcements, utility for updates about something the customer did, such as an order or appointment, and authentication for one-time passwords. Meta charges per delivered message by category.