How are shares priced

How is the price of a company’s share determined in the stock market?