What does a printed circuit board do?

It acts as a base to mount electronic components on, and it connects those components together in a way that'll make them work as intended.