Which of the following forces requires physical contact between objects?

A) gravity
B) friction
C) magnetism
D) electricity