The liver processes excess amino acids from protein by removing the amino group (deamination) to produce lipids that can be used as an energy source. Specifically, the liver converts excess amino acids into fatty acids through a process called deamination, removing the amino groups from the amino acids to produce lipids for energy production. This allows the body to use amino acids as an alternate energy source when carbohydrates and lipids are not readily available.