What are nominal codes for?
Sorting. Every transaction in the ledger has to belong somewhere, and the nominal code says where. A fuel receipt goes to motor expenses, a customer payment to the bank and to debtors, the accountant's bill to professional fees. Total each code and you have the lines of the profit and loss and balance sheet.
The codes are grouped in ranges so the structure is obvious at a glance. A widely used UK layout runs fixed assets in the 0000s, current assets in the 1000s, liabilities in the 2000s, capital in the 3000s, sales in the 4000s, cost of sales in the 5000s and overheads from 6000 upwards. Software varies in the details, and you can add or rename codes to suit the business.
The word 'nominal' is old bookkeeping vocabulary — the nominal ledger was the one holding the named accounts rather than the ones for individual customers and suppliers — and has survived mostly because accountants still say it.