Brian needs a new backpack. He compares the prices of three different backpacks at a local store to find the best deal. Which function of money is Brian demonstrating?

a. Unit of account.
b. Store of value.
c. Acceptance of payment.
d. Medium of exchange.

a. Unit of account.