https://en.wikipedia.org/wiki/Ribosome
For a computing analogy: a Ribosome serves as a molecular assembler (a processor) that depending on the instructions (the program) encoded in DNA (or rather RNA by the time the ribosome is working with it) pulls this or that molecule from the soup present in a cell to attach it to its working copy of a polypeptide chain (the output). Once complete (as signalled by a 'stop' codon, think of it as 'ETX') the thing detaches the product.
The Ribosome consists of a main engine and a 'cap' that can attach over the top of an RNA string so that it can start transcription at other points ('STX') than just the ends.