The amino acid sequence of a protein determines its structure and function. The structure of a protein is determined by the interactions between its amino acids. These interactions can cause the protein to fold into a specific shape, which is essential for its function. The function of a protein is determined by its shape and its chemical properties. For example, some proteins are enzymes, which catalyze chemical reactions, while others are structural proteins, which provide support and strength to cells.
Therefore, the DNA sequence of a gene ultimately determines the function of the protein that it encodes. This is a fundamental principle of molecular biology.