Chronic diarrhea is a condition characterized by frequent loose or watery stools that persist for…