Board of directors

Why do organizations (non-profit and for profit / small and large) have a board of directors? Who is it comprised of and why?