How share price is decided?

What factors contribute to deciding the price of a company’s shares in the stock market?