Butter cooked until its milk solids brown, then strained.
Ghee is a type of clarified butter that's central to Indian cooking. Butter is simmered until its water cooks off and its milk solids sink and turn golden brown. The clear golden fat is then strained away from the solids.
That browning step is what sets ghee apart from plain clarified butter, which is strained before the solids color. It gives ghee a nutty, slightly toasty flavor.
Because the milk solids are removed, ghee can be heated much hotter than butter without burning, which makes it great for frying spices, searing and sautéing. With the water gone too, it keeps for weeks at room temperature in a sealed jar, and much longer in the fridge.
Ghee contains only tiny traces of lactose and casein, so some people with dairy sensitivities tolerate it, though it isn't dairy-free. In Hindu tradition, ghee is also used in religious ceremonies and lamps.