A security’s price is the dollar value at which the buyers & sellers agree to complete their transaction for 1 share of a company’s equity.
As Bid & Ask values overlap, transactions occur, which sets the price for each security based on the market’s sentiment for said stock/security.