What function do ribosomes have within a cell?

A.
Ribosomes produce ATP.

B.
Ribosomes synthesize proteins.

C.
Ribosomes contain genetic material.

D.
Ribosomes control what enters and exits the cell.

B. Ribosomes synthesize proteins.