What is bid and offer price in stock market

How do bid and offer prices affect trade execution in the market?

The bid price is the highest price a buyer is willing to pay for a stock, while the offer (ask) price is the lowest price a seller is willing to accept. The difference between them is called the spread.