It plays a critical role in protein synthesis and intracellular metabolism, and it's also involved in the functioning of RNA, DNA, immune function and muscle formation. Serine is needed for the production of tryptophan, an essential amino acid that's used to make serotonin.