Dexlansoprazole is used to treat heartburn and certain other conditions caused by too much acid in the stomach.