The present invention relates to polyfructans and their uses, in particular medical uses for treating and/or attenuating and/or preventing viral infections, bacterial infections and/or inflammation. The invention furthermore relates to a composition comprising a polyfructan and, optionally, a short-chain fatty acid such as butyric acid, propionic acid or acetic acid.