Lilac syrup, containing lactulose and other sugars such as galactose and lactose, is used to treat constipation and manage hepatic encephalopathy. Lactulose is a disaccharide, a type of sugar made up of two smaller sugar molecules, fructose and galactose, bonded together.