The dollar buying rate is the price at which the bank buys dollars from you, and the selling rate is the price at which it sells dollars to you.
The difference between these two rates represents a significant implicit cost; if you exchange currency twice, you will be affected by this difference.
The figures, fees and limits in this answer vary by bank and change over time — confirm them with your bank or the official source before acting.