you still don't get it, I also have this question when I started started.
It works like an auctions system, everybody submit the price they want to buy or sell, and the best price appears in the bid or ask. The last price is the price at which the last transaction took place, ( in stock and...