Agni is the digestive and metabolic fire — the body's capacity to properly process what it takes in. In Ayurveda it sits close to the centre of almost every assessment, whatever the presenting complaint.
The reasoning is straightforward. When Agni is working well, food is converted into nourishment. When it is weak or erratic, food is instead left partly processed, forming Ama — metabolic waste that classical texts describe as accumulating in the body's channels and contributing to a wide range of conditions.
This is why an Ayurvedic consultation for joint pain may spend time on your meal timings, and why a plan for stress may include changes to what and when you eat. Agni and Ama are assessed as part of the root-cause analysis, not as a separate topic.
Correcting Agni is usually addressed through Aahar — personalized dietary guidance covering Pathya (what to include) and Apathya (what to avoid) — alongside routine and, where appropriate, Ayurvedic medicines.