Select the choice that best completes the following sentence:

A compass uses the property of _______ to indicate direction.
A. electricity
B. magnetism
C. radiation
D. solar energy