How market price of share is determined

How does supply and demand affect the market price of shares?