What are the factors that determine the price of a stock?

Stock prices usually depend on demand and supply, the growth prospects of a company, and the profitability of the company.