A subdivision of an IP network that groups related devices together for security and organization. Like dividing a building into separate floors or departments.
A company might put web servers in a public subnet accessible from the internet, and databases in a private subnet only accessible internally.
All four clouds use subnets to divide a virtual network into smaller IP ranges. AWS and OCI subnets are regional constructs tied to availability zones/ADs for placement; Azure subnets live inside a VNet; GCP uses subnetworks that are regional within a global VPC.