Which of the following is a correct statement about the function of ribosomes?