The Farnesoid X receptor (FXR) is a nuclear receptor that plays a crucial role in regulating bile acid homeostasis, lipid metabolism, and glucose balance in the liver and intestines. It acts as a sensor for bile acids, modulating gene expression to maintain metabolic health and protect against liver diseases such as non-alcoholic fatty liver disease (NAFLD) and cholestasis.