How is opening price of a stock determined

What determines the opening price of a stock each day?