Linagliptin belongs to a class of medications called DPP-4 inhibitors. It works by increasing the levels of certain hormones that help regulate blood sugar, especially after meals. This leads to increased insulin release and reduced sugar production by the liver.