what is a vector?

A. a scalar quantity
B. a quantity that has magnitude and direction
C. a magnitude that can be measure
D. a direction