Accounting follows a certain framework of core principles which makes the information generated through an accounting system valuable. Without these core principles accounting would be irrelevant and unreliable.
These principles are the building blocks that form the basis of more complex and specialized principles called GAAP or generally accepted accounting principles such as the International Financial Reporting Standards, US GAAP, etc. They deal with matters like accounting for revenue, accounting for income taxes, accounting for business combinations, etc.