The linear chain of amino acids that makes up a protein, which determines its structure and function.