What force prevents a machine’s actual mechanical advantage from reaching its ideal mechanical advantage?

A work

B friction

C gravity

D heat