Salesforce Fact #652 | OrgLimit Class
There is a class name OrgLimit which provides the details about the various limits of the salesforce org. It has four methods: getName(), getValue(), getLimit() & toString(). Reference: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_System_OrgLimit.htm