Verkada Interview Question

Q: How do VLANs and subnets differ in their purpose on the network?