Bile acids are type of steroids that are produced in the liver from cholesterol. Then they are secreted into the bile. This test is used as a marker for liver function. Their levels are high in patients with obstructive jaundice leading to stasis of bile.