Primary function of a beam in structural engineering

What is the primary function of a beam in structural engineering?

A) To support vertical loads by bending

B) To transfer electrical current

C) To act as a decorative component

D) To insulate against heat