Vitamin D3 is a derivative of cholesterol (dehydration followed by photochemical elimination/cleavage). Bile acids and bile salts are derivatives of cholesterol (oxidation of side chain and additional hydroxyl groups on the rings; bile salts are amide derivatives of bile acids with detergent properties).