Lactitol is used as a sugar substitute in foods because it provides fewer calories than regular sugar and has a lesser impact on blood sugar levels. It also inhibits the growth of harmful oral bacteria, making it a popular ingredient in sugar-free chewing gums and dental hygiene products.