Generally accepted accounting principles(GAAP) means set of accounting rules, standards, and procedures issued.
GAAP helps govern the world of accounting according to rules and guidelines. It is standards that encompass the details, complexities, and legalities of business and corporate accounting.
For example if the company wants to do Business, they must show their revenues before regulating bodies. They must follow the GAAP guidelines to do any financial activity.