What holds each amino acid molecule to the next in the long chain of an amino acid? Simple: peptide bonds.
What takes free-floating individual amino acid molecules, and then later converts them to a protein chain? That's a little more complicated. The whole thing is called protein synthesis, and it's a multi-step process. One of the last steps involves a small transfer RNA molecule (tRNA) attaching its amino acid to a growing protein.