Header boards are used to protect the driver from cargo in the event of a crash.
The function of a front-end header board (also called a "headache rack") is to protect the driver from being injured by moving cargo in the event of a crash or sudden stop.