A fatty liver results from the accumulation of excess fat in liver cells, occurring when dietary fat intake surpasses the body's processing capacity. This condition is diagnosed when fat constitutes 5-10% of the liver's weight. Tests for fatty liver are essential for doctors to diagnose the condition accurately and develop a tailored treatment plan based on any complications.