A practical breakdown of how SaaS actually works — multi-tenant architecture, cloud infrastructure, security, and the subscription business model behind it.