Apex is a computer programming or coding language. It seems like it is similar to Java. Salesforce is responsible for putting out Apex. Because Apex is large and multitenancy which means that many users may use the single software which may make it run slowly or cause problems.
So, there were limitations given in order for this not to occur. Sometimes, the limits can change and be started over when the batch has been finished. Then the limits will start over. So, if a developer wants to avoid going past these limits set by an associated governor while using the Apex trigger, he or she must use maps to hold the data from the query results. Also, they can perform DML transactions on lists of objects.