Fennel is used to treat a variety of digestive issues, including as colic in young children and heartburn, intestinal gas, bloating, and loss of appetite. It is also used to treat back pain, bedwetting, cholera, coughs, bronchitis, upper respiratory tract infections, and vision issues.