How price of a share is determined

Which factors set the trading price of shares?

The price of a share is determined by the last agreed price between a buyer and a seller on the stock exchange.