The main role of a board is to help guide the company through major decisions, such as hiring and firing senior management; approving corporate actions (e.g. compensation, stock options, and budget); and offering guidance on strategic decisions that impact the business longer term.
When people refer to setting up a board, what they usually mean is the process of adding outside directors, after the company raises money. These may be investor directors or independent directors.