[Resource Quotas]
It help manage overall resource consumption at the namespace level.
The Resource Quotas is the total available resources for a particular Namespace.
When several users or teams share a cluster with a fixed number of nodes, there is a concern that one team could use more than its fair share of resources.
The different teams work in different Namespaces.
The administrator creates one ResourceQuota for each Namespace.
Users create resources (pods, services, etc.) in the namespace, and the quota system tracks usage to ensure it does not exceed hard resource limits defined in a ResourceQuota.
If quota is enabled in a namespace for compute resources like cpu and memory, users must specify requests or limits for those values; otherwise, the quota system may reject pod creation.

[Limit Ranges]
It ensure that individual pods and containers have appropriate resource limits and requests.
Limit Ranges is used to assign limits for containers running inside the Namespace.
But it can also be applied to PersistentVolumeClaims (PVCs).


[Resource Quotas vs Limit Ranges]
                                        Resource Quotas                                                 Limit Ranges
                                        :-------------:                                                 :----------:        
                Scope                   Namespace-wide                                                  Per-container (within a namespace)
                Purpose                 Limits total resource consumption in a namespace                Set constraints on individual pod/container resources
                Resource Types          CPU, memory, number of resources (Pods, PVCs)                   CPU, memory (requests/limits) for containers
                Default Values          No default values; it tracks usage and enforces limits          Can specify default CPU and memory requests/limits
                Granularity             Overall resources within a namespace                            Per-container within the namespace
