What is bid price and ask price in stock market

Why do bid and ask prices differ in the stock market?