What is bid and ask price in stock market

How is the bid-ask price range determined in active trading sessions?