The bases are read in triplets, known as codons, with each codon coding for an amino acid. The amino acids are brought by the tRNA to the mRNA, and form a chain. Then the polypeptide chain folds to form a protein. The shape it folds into (dependent on the order of amino acids), detemines the function.