How is the opening price of a stock determined

What role does the opening auction play in setting the opening price?