Some motherboards even display two-digit codes on the board itself (see photo). However, this visual display of the results isn’t very beneficial if there’s no signal going to the monitor, so BIOS manufacturers devised a system of beeps that function as a diagnostic guide. It looks like the computer is taking an inventory of all the connected components.
While the POST is running you can actually see the results on your display, assuming it’s working.