What drives stock prices

Are stock prices mostly driven by fundamentals or market sentiment?