Proteins are formed via a process called "Protein synthesis". In this process the cell reads the genetic information of the DNA and translates it into a protein. In eukaryotes, this process begins in the Nucleus and ends in the ribosome. In procaryotes all of it is done in the cytoplasm. The general concept is exactly the same for every living being.