The bid is the lower of the two prices in a quote. It is what the market will pay you, so you sell at the bid and you close a buy trade at the bid.
Most trading platforms draw their charts from the bid price. That matters for orders: a sell limit or a stop on a buy trade is triggered by the bid, while buy orders are triggered by the ask, which is higher by the spread.
Bid, ask and your costs
If EUR/USD shows 1.1000 / 1.1001, you can sell at 1.1000 or buy at 1.1001. Buying and immediately selling would lose that 1-pip difference, which is the round-trip cost of the trade before any commission.
Watching how wide the gap between bid and ask is at different times of day is one of the simplest ways to cut trading costs: spreads on major pairs are usually tightest during the London and New York sessions.