Bile is secreted into the small intestine when fats are present.