1 Introduction

Antibiotics have been used to treat bacterial diseases since the early twentieth century [1]. Most infectious diseases were brought under control through the discovery of many classes of antibiotics. However, the increase in the usage of antibiotics with unnecessary and inappropriate prescriptions in clinical practice soon led to the emergence of antibiotic resistance within a few years, limiting the effectiveness of current drugs and significantly causing treatment failure of infections [2, 3]. Apart from that, the use of antibiotics to prevent infectious diseases and promote animal growth in food and animal industries have also contributed to antibiotic resistance [2]. More than 70% of pathogenic bacteria were resistant to at least one of the currently used antibiotics [4, 5]. The World Health Organisation (WHO) published a list of pathogens in 2017 requiring urgent development of new antimicrobials known as ESKAPE, including Enterococcus faecium, Staphylococcus aureus, Klebsiella pneumoniae, Acinetobacter baumannii, Pseudomonas aeruginosa, and Enterobacter species. Most antibiotics have a limited life due to pathogen variants with intrinsic or acquired resistance mechanisms. Microbial cells have developed intrinsic resistance towards antibiotics through various mechanisms such as inactivation of drugs via hydrolysis (e.g., via β-lactamase) or modification (e.g., aminoglycoside resistance); alteration of drug targets within cells making them unrecognisable to the drug (e.g., by mutating DNA gyrase in fluoroquinolone resistance) or bypassing the drug target; the use of permeation barriers, preventing access of drugs to the target (e.g., the Gram-negative outer membrane); and active efflux of drugs out of the cell via membrane-bound efflux transporters [6, 7]. Apart from intrinsic resistance, microbial communities are able to develop tolerance toward environmental stress through the formation of biofilms which enhances their resistance to antibiotics [8]. Resistance of biofilms to antimicrobial agents is contributed by several mechanisms and differs from those contributed by planktonic bacteria. Some of these resistance mechanisms can contribute together, resulting in the increase of resistance of biofilms [9]. The rapid emergence of antibiotic-resistant bacteria has caused an increase in financial burden as second or third-line drugs are more expensive, and this phenomenon may also soon lead to the shortage of available antibiotics [10, 11].

In regard to this challenge, there is a need to develop alternative approaches in addition to searching for new antimicrobial compounds [2]. Various strategies are being developed and have been reported to inhibit or disrupt biofilms, such as quorum sensing inhibitors, bacteriophages, enzymes, surfactants, nanoparticles, antimicrobial photodynamic therapy, ethnopharmacology, and diguanylate cyclase inhibitors [12].

Lately, considerable attention has been given to the use of isolated natural extracts for their therapeutic and prophylactic action in the treatment and prevention of several diseases and as a promising source of antimicrobial agents due to their eminent levels of biocompatibility and low levels of toxicity [13]. Many studies have reported on the various health benefits and bioactivities of anthocyanins, and there has been an increase in new findings on their therapeutic potential. Previous reviews have generally focused on the various bioactivities of different sources of anthocyanins including those which have not been fractionated or purified to enhance the anthocyanin content [14,15,16]. This review focuses on the potential and prospects of anthocyanins or their fractions from various sources that have been purified for their antibacterial and antibiofilm properties. Based on the major anthocyanin in the anthocyanin fractions, the acylation type of anthocyanins or functional groups (solely on carbohydrate moieties) was further discussed for its antibacterial and antibiofilm potential. This review also looks at the possibilities of using anthocyanins as potential substitutes or adjuvants for antibiotics to treat bacterial infections, of those involving biofilms and their mechanisms.

2 Biofilm formation and treatment challenges

Biofilm is a community of bacterial cells (single or multiple bacterial species) attached to either a living or non-living surface enclosed in a complex exopolymeric substance (EPS). Biofilm has a slime-like appearance, and it is known to occur in natural, industrial and hospital settings. It is composed mainly of polysaccharides, proteins, nucleic acids, lipids, extracellular DNA and water [17, 18]. Biofilms cause many health problems such as endocarditis, chronic wounds, otitis media, urinary tract infections and periodontitis [19]. Biofilms serve as a physiological barrier for bacterial cells, which involves the transition of the planktonic cells encountering environmental stress signals to attach to a surface to facilitate the formation of biofilm. Upon maturation of biofilm, the sessile bacterial cells are dispersed from the biofilm in order to spread and colonise new surfaces [20].

Bacterial cells enclosed in biofilms have a greater ability to withstand unfavourable environmental conditions (e.g. antibiotics, heat shock, changes in pH, oxygen and nutrient limitation), enabling their survival [20, 21]. Bacterial biofilms form tolerance over time to enable their survival through several mechanisms, such as the ability of biofilms to reduce the diffusion of antibiotics, formation of metabolic activity gradient in which bacterial cells in the inner layer of biofilms have a slower growth rate due to limitations to oxygen and nutrient, ability of persister bacteria to withstand antibiotic treatment to re-establish infection as well as conventional antibiotic resistance in biofilms facilitates bacterial biofilms to resist antibiotics, disinfectants, and innate and adaptive immune defence system of the host [17, 22, 23]. Among all microbial and chronic infections, 65% and 80%, respectively, are associated with biofilm formation, according to the National Institutes of Health [18].

Clinically biofilm-related infections require aggressive treatment with a combination of antibiotics which is challenging as infections may recur or persist with adequate treatment. It is due to its inability to eradicate biofilms [23, 24] and if it is device-related, it requires the removal and replacement of the device, requiring surgery, increases in cost, risks and complications [23]. Regarding the rise of failures in combating infectious diseases, there has been a realisation of the importance of developing antibiofilm drugs. Microbial cells in biofilms can produce compounds that enable their shift from biofilm to a planktonic mode of life. It is essential for the dispersal of biofilms that allow bacterial populations to colonise new habitats [25]. For instance, the bacterium Bacillus subtilis produces D-amino acids which help in the dispersal of biofilm formation. This particular property has been exploited in developing antibiofilm drugs via the identification and characterisation of such chemical cues [26]. Apart from that, cell signalling, such as quorum sensing, is essential in forming and maintaining biofilms. Identifying drugs or molecules with structural similarity to quorum-sensing signals is another potential approach to prevent biofilm formation [27].

In order to treat bacterial infections effectively, it is important that the drugs which are used are able to prevent biofilm formation and dispersal as well as affect the growth of individual cells. This is important as to prevent the re-establishment of biofilms by existing planktonic cells. Therefore, a combination therapy applying antibiofilm drugs in conjunction with traditional antibiotics that target cell growth would probably be a better alternative to control biofilm-related infectious diseases. In such combination therapy, the antibiofilm drugs will reduce its resistance in combating biofilm formation and facilitate the targeting of pathogens at the cellular level by traditional antibiotics [1].

3 Anthocyanins

Many current antibiotics are derived from natural products that provide diverse and complex structures with densely packed functional groups [28, 29]. Plants are rich in a variety of secondary metabolites, such as flavonoids, tannins, alkaloids and terpenoids, which have been shown to have antimicrobial properties in vitro [30, 31]. Furthermore, polyphenols in fruits and vegetables, such as flavonoids and tannins, have shown promising antimicrobial activity [32, 33].

Anthocyanins are classified under the flavonoid group of polyphenol compounds, which gives rise to the red, blue and purple colours of plants [34] in which more than 700 types of anthocyanin derivatives of aglycones known as anthocyanidins are known to occur in nature. The six major types of anthocyanidins commonly present in nature are malvidin, pelargonidin, cyanidin, delphinidin, peonidin and petunidin (Table 1). These anthocyanins are usually either acylated or non-acylated and are commonly attached to one or more sugar moieties, making them glycosides [35]. The most common sugars attached to the anthocyanins are glucose, galactose, rhamnose, arabinose and xylose, while common acylating agents are cinnamic, ferulic and sinapic acids. Anthocyanins have high solubility in water and have higher stability at low pH. Studies have shown acylated anthocyanins to have higher stability against factors such as high temperature, changes in pH, UV radiation, light exposure, processing and storage [36]. Current knowledge on the sources and stabilities of acylated and non-acylated anthocyanins has been previously covered in a review [37]. Anthocyanins are being used as natural colourants in the food industry as an alternative food colourant to synthetic colourants due to safety concerns of their use in food products. The use of anthocyanins as food colourants is gaining interest also due to their multiple health benefits.

Table 1 Chemical structures of anthocyanidins
figure a

Various studies have shown anthocyanins to have a wide range of biological activities such as antimicrobial, antioxidant, cardiovascular protection and anticancer [38,39,40,41]. Apart from that, studies have also shown anthocyanins and their metabolites to exert a positive modulation on gut bacterial growth [42], anti-inflammatory properties [43], inhibition of platelet aggregation [44], control diabetes [45], chemoprotective [46], and radiation-protective agents [47]. Several methods, such as disc diffusion, agar dilution, broth microdilution and macrodilution, are suitable and commonly used for in vitro antimicrobial susceptibility testing, following the guidelines that are internationally accepted procedures like Clinical and Laboratory Standards Institute (CLSI). The following sections discuss the antibacterial and antibiofilm potential of anthocyanins from various sources and examine their possible mode of action in exerting the observed activity.

3.1 Antibacterial activity of anthocyanins

In search of alternatives for treating bacterial infections, anthocyanins have been researched for their potential in numerous studies owing to their various health benefits. Studies have shown bilberry and blueberry extracts to inhibit the growth of bacteria such as Staphylococcus aureus, Enterococcus faecalis, Escherichia coli and Pseudomonas aeuruginosa while blackcurrant extract was shown to inhibit the growth of S. aureus and Enterococcus faecium strains and having only mild effects on E. coli. These studies showed that microbial strains have different susceptibilities to various berry extracts [48, 49]. Anthocyanins have been shown to exert their antibacterial activity through various mechanisms such as inducing damage to bacterial cell damage, destroying the structural integrity of the wall, membrane, and intracellular matrix, inhibiting extracellular microbial enzymes, antibiofilm activity as well as affecting microbial metabolism and growth [48, 50, 51].

The antibacterial properties displayed by anthocyanins from various sources are shown in Table 2 and Fig. 1. The anthocyanin-rich extracts of four different varieties of blueberries (Snowchaser, Star, Stella Blue and Cristina Blue) were found to have potent antibacterial activity against Gram-positive and Gram-negative bacterial strains from patients with urinary tract infections (UTIs) and standard strains from American Type Culture Collection (ATCC). The minimum inhibitory concentration (MIC) values ranged from 0.4 to 9.52 mg/mL while the minimum bactericidal concentration (MBC) value ranged from 1.03 to 9.52 mg/mL. The anthocyanin compounds were identified in the anthocyanin-rich extracts and were composed mainly of cyanidin, delphinidin, peonidin, petunidin and malvidin derivatives. The highest effect was against Pseudomonas aeruginosa (MIC value = 0.4–0.85 mg/mL) with a potent effect against other uropathogenic strains such as Klebsiella pneumoniae, Providencia stuartii and Micrococcus spp. strains isolated from UTIs [52]. The anthocyanin extract of strawberries was found to have activity against Staphylococcus aureus associated with bovine mastitis, a common disease affecting dairy cattle worldwide, contributing to great economic losses in the dairy industry. The anthocyanin extract was found to have at least 40% or higher growth inhibition at 100 µg/disc in disc diffusion assay [53]. The anthocyanin extract of dark purple-fleshed potato (major pigments = malvidin 3-O-p-coumaroyl-rutinoside-5-O-glucoside and petunidin 3-O-p-coumaroyl-rutinoside-5-O-glucoside) showed potent antibacterial activity against the standard and clinically isolated bacterial strains. Gram-positive bacteria were most prone to the action of the extract with MIC values of 15.6–31.3 µg/mL compared to the Gram-negative bacterial strains (MIC value 31.3–250 µg/mL) [54]. A similar pattern was also obtained in a disc diffusion assay of the anthocyanin fraction of Thymus kotschyanus against Gram-positive and Gram-negative bacterial strains [55]. However, the anthocyanin extract of cranberry displayed an equipotent effect against both Gram-positive and Gram-negative bacterial strains apart from Listeria monocytogenes, which had the least susceptibility to the extract [56].

Table 2 Antibacterial activity of anthocyanins from various sources towards Gram-positive and Gram-negative bacterial strains
Fig. 1
figure 1

Antibacterial and antibiofilm mechanism of action of various sources of anthocyanin fraction/enriched extract and those available commercially. Abbreviations: CagA, cytotoxin-associated gene A; DNA, deoxyribonucleic acid; Gtf, glucosyltransferase; TCA, tricarboxylic acid; VacA, vacuolating cytotoxin A

Several studies have reported cranberries as a natural remedy to treat UTIs by preventing bacterial attachment to surfaces, impairing bacterial motility, and interfering with quorum sensing [57, 58]. The anthocyanin fraction of cranberry was reported for potential antibacterial activity against E. coli with MIC and MBC value of 14.8 mg/L [50]. It was found to cause disintegration of the outer member of E. coli with cytoplasm leakage. Another study reported the proanthocyanidins of cranberry (at a concentration that does not affect bacterial growth) prevented the resistance to various antibiotics in Gram-negative bacterial strains (P. aeruginosa, E. coli, Proteus. mirabilis) [58]. The combination treatment of proanthocyanins with antibiotics was found to have potentiated the effect of the antibiotics requiring up to less than 98% of antibiotics than treatment without the proanthocyanidins. It was also found to have synergistic activity by reducing the MIC value up to 64-fold against Proteus. mirabilis. The ability of the proanthocyanidins at concentrations that did not affect the bacterial growth against tested bacterial strains is unlikely to lead to resistance. Interestingly, the co-administration of proanthocyanidins with tetracycline prevented the evolution of resistance in E. coli and P. aeruginosa. The continuous treatment of these strains with tetracycline alone for 21 days was found to have 128-fold and 32-fold increase in MIC values, respectively.

In vivo studies revealed that the combination treatment of the proanthocyanidins of cranberries with sulfamethoxazole increased the survival of Drosophila melanogaster fruit flies and Galleria mellonella larvae of the greater wax moth infected with P. aeruginosa compared to treatment with antibiotics alone. The proanthocyanidins had antibiotic potentiating effects in vitro and in vivo on various antibiotics and had the ability to repress selective membrane permeability and multidrug efflux pumps of tested bacterial strains [58]. In another study, the anthocyanins of cranberry showed potential activity against various S. aureus strains with a MIC of 5 mg/mL and their growth was completely inhibited at 3 h [59]. The anthocyanins reduced the level of intracellular (adenosine triphosphate) ATP in S. aureus strains and displayed depolarisation of membrane potential which led to membrane damage. Apart from that, the anthocyanins induced the leakage of cellular proteins and destruction of cell morphology where bacterial cells were observed to have irregular wrinkles, rough surface, separation of cytoplasmic membrane from cell wall and cytoplasmic leakage [59].

The anthocyanin-rich extract of Chinese wild blueberries was found to have potent antibacterial activity against various foodborne pathogens (L. monocytogenes, S. aureus, S. enteritidis and Vibrio parahaemolyticus). The Gram-negative bacteria V. parahaemolyticus was the most susceptible to the treatment, with an MIC value of 0.03 mg/mL. All strains displayed distorted membrane morphology, aggregation and leakage of cellular contents upon treatment with the anthocyanin extract. It also increased the nucleic acid leakage from bacterial cytoplasm, leakage of proteins through membrane damage as well as affecting the membrane-associated energy-transducing system. Alkaline phosphatase (AKP), adenosine triphosphatase (ATPase), and superoxide dismutase (SOD) activity were also decreased. The effects observed, together with the decrease of the tricarboxylic acid (TCA) cycle led to the reduction of energy transfer of pathogens leading to the inhibition of their growth and reproduction [60].

A study by Dorneanu and group investigated the antibacterial potential of the anthocyanin fraction of black chokeberry against standard bacterial strains and clinical isolates and was found to have equipotency against the Gram-positive and Gram-negative strains tested (MIC = 2.5–10 mg/mL) [61]. The anthocyanin fraction also displayed moderate synergism with its respective clinical antibiotics against E. coli and P. aeruginosa in disc diffusion assay. However, another study by Deng and group reported the anthocyanins of black chokeberry to have strong antibacterial activity against E. coli (MIC = 0.625 mg/mL) [62]. The anthocyanins were able to destroy the integrity of the cell wall and cell membrane of E. coli followed by leakage of cellular proteins, disruption of protein synthesis and degradation of bacterial proteins. The anthocyanins were also found to bind to DNA, potentially causing the inhibition of replication, transcription, and expression of DNA in cells which ultimately leads to cell death [62]. The black chokeberry anthocyanin extract in the study was about 16 times more potent against E. coli than that reported by Dorneanu and group based on their MIC values [62]. This could probably be contributed by the anthocyanin extraction and purification process adapted in the study. A semi-preparative high performance liquid chromatography (HPLC) was used to isolate, identify, and collect the respective anthocyanins (cyanidin-3-galactoside, cyanidin-3-glucoside, cyanidin-3-arabinoside, and cyanidin-3-xyloside) based on the peaks observed by Deng and group. However, the collection of ethanol fraction (containing anthocyanins) by Dorneanu and group was not further purified, which may cause it to have a lower content of anthocyanins as well as the presence of other compounds.

The anthocyanin-enriched extract of black plum was reported to have potential anti-quorum sensing (QS) activity against Klebsiella pneumoniae induced acyl-homoserine lactone (AHL) mediated violacein production with about 70% inhibition at 500 µg/mL [63]. Molecular docking studies showed the anthocyanin malvidin to have the highest docking score with LasR receptor protein out of 43 active components of the extract. The anthocyanin-enriched extract also exhibited synergistic activity with ofloxacine, tetracycline and chloramphenicol antibiotics on the growth inhibition of K. pneumonia. The most potent effect was observed with ofloxacine, having increased the sensitivity of K. pneumonia up to 55.6% when treated with the extract at 1 mg/mL. The anthocyanin malvidin (20 µg/mL) showed a remarkable inhibitory effect (85.4%) against QS regulated violacein production at against K. pneumonia [63]. Later on the same group investigated the potential of the anthocyanin cyanidin, which showed a high docking score with LasR receptor protein in molecular docking studies. Cyanidin (80 µg/mL) inhibited violacein production (anti-QS activity) by 74% and exhibited synergistic activity with erythromycin, tetracycline and kanamycin antibiotics on the growth inhibition of K. pneumonia. The most potent effect was observed with kanamycin having increased the sensitivity of K. pneumonia to 86.5% when treated together with cyanidin at 150 µg/mL [64].

A study determined the antibacterial activity of several commercially available anthocyanins [65]. Cyanidin 3-O-glucoside (100 µM) was found to have potential activity against Helicobacter pylori which the infection is known to lead to gastritis, peptic ulcers and gastric cancer. It inhibited the secretion of CagA and VacA toxins via suppression of secA transcription of H. pylori. Later on, the same group investigated the potential of the anthocyanins from black soybean, which was mainly composed of cyanidin‐3‐glucoside to inhibit gastric epithelial cell inflammation due to H. pylori infection [66]. Cyanidin‐3‐glucoside (50 µg/mL) was found to decrease H. pylori induced reactive oxygen species (ROS), inhibit mitogen‐activated protein kinases (MAPKs) phosphorylation, nuclear factor‐kappa β (NF‐kβ) translocation and Ikβα degradation. It also inhibited H. pylori‐induced inducible nitric oxide synthases (iNOS) and cyclooxygenase‐2 (COX-2) mRNA expression and interleukin-8 (IL‐8) cytokine production [66]. Cyanidin 3-O-glucoside was also reported by another study to have potential antibacterial activity against S. aureus with an MIC value of 2 mg/mL [67]. The treated bacterial cells exhibited rough and tattered surface, disintegration in the cell membrane and cytoplasm leakage leading to irreversible rupture of cell wall and cytoplasmic membrane. The increase in the leakage of alkaline phosphatase (AKP) as detected in the supernatant indicated damage to the cell wall while damage to cell membrane was observed with the increase in leakage of lactate dehydrogenase (LDH), protein and DNA. It was identified as a DNA intercalator that showed strong inhibitory activity on topoisomerase (Topo IV) affecting the synthesis of bacterial DNA and protein [67].

Monoacylated anthocyanins from dark purple-fleshed potato (Solanum tuberosum) demonstrated the lowest MIC against two gram-positive bacterial strains, S. aureus, E. faecalis based on broth microdilution assay (Table 2). Monoacylated anthocyanins in dark purple-fleshed potatoes consist of more hydroxyl groups compared to anthocyanin sources, with nonacylated anthocyanins having higher MIC values. In a study by Sun et al. [68], petunidin-derived diacylated anthocyanins isolated from purple sweet potato [Ipomoea batatas (L.) Lam] had lower MIC against Staphylococcus aureus and Salmonella typhimurium compared to the MIC values of nonacylated anthocyanins, indicating that the acylation increases the antibacterial properties of anthocyanins. Interestingly, Zhang et al. [69] reported that acylated anthocyanins from purple sweet potato [Ipomoea batatas (L.) Lam] enhanced the growth of Lactobacillus spp. and Bifidobacterium, but inhibited the abundance of Clostridium histolyticum and Prevotella. This indicates that the acylated anthocyanins impart their antibacterial effect only against harmful bacteria. Considering nonacylated anthocyanins, anthocyanin fractions from dark roselle petals (Hibiscus sabdariffa) and eggplant peels (Solanum melongena) demonstrated higher disc diffusion diameters against B. subtilis than onion peel (Allium ascalonicum) anthocyanins (Table 2). Main anthocyanin from both dark roselle petals (delphinidin-3-O-sambubioside and cyanidin-3-O-sambubioside) and eggplant peels (delphinidin-3-O-rutinoside) consists a higher number of hydroxyl groups compared to onion peel anthocyanins (cyanidin-3-O-glucoside). The higher antimicrobial activity was related to the presence of hydroxyl groups (phenolic and alcohol compounds), whereas hydrocarbons resulted in less activity of compounds in essential oils [70]. However, anthocyanins from blue pea flower (Clitoria ternatea) which contains polyacylated anthocyanins with a large number of hydroxyl groups did not show higher disc diffusion diameters compared to nonacylated anthocyanins (Table 2). This could be due to the steric hindrance imparted by the acyl groups in the polyacylated anthocyanins. Acylation decreases the polarity of the anthocyanin molecule and causes steric hindrance [71].

3.2 Antibiofilm activity of anthocyanins

The search for alternative agents or approaches apart from antibiotics is urgent to tackle the rise of multidrug-resistant bacterial infections. Therefore, various strategies are being explored to target the virulence factors of pathogens to impair their ability to cause infections such as those associated with biofilms. The antibiofilm properties displayed by anthocyanins from various sources are shown in Table 3 and Fig. 1. The anthocyanin-enriched extract of black plum was found to have potential antibiofilm activity against K. pneumonia [63]. The extract (1 mg/mL) inhibited biofilm production by 79.9% and exopolysaccharide formation by 64.3%. It was also found to have antibacterial (growth inhibition) activity (Table 2). Among the underlying mechanisms for the effects observed was its ability to inhibit the quorum sensing signalling pathway, which is essential for bacterial growth, virulence factors, and biofilm formation [63]. A similar mechanism was also found by the same group the following year using a commercial anthocyanin cyanidin (150 µg/mL) for its antibiofilm potential in K. pneumonia [64].

Table 3 Antibiofilm activity of anthocyanins from various sources towards Gram-positive and Gram-negative bacterial strains

Grape marc anthocyanin extract was determined for its potential in preventing dental caries in vivo in white rats (Rata albicans) infected with S. mutans and were fed with a cariogenic diet. The treatment group (topical application of 5% anthocyanin extract for 60 days) had reduced number of cavities (1.62 fold) as well as reduction in surface roughness (2.13 fold) compared to the control untreated group [72]. Another study reported the anthocyanin extract of soybean and walnuts to have antibiofilm activity against various Pseudomonas and Klebsiella bacterial species. It was found to have inhibited biofilm formation by reducing bacterial cell hydrophobicity having the capacity to inhibit attachment to surfaces [73].

Some studies have shown the proanthocyanidins for their potential antibiofilm activity. The proanthocyanidin fraction of red wine was reported by a study for potent antibiofilm activity against Streptococcus mutans. S. mutans is known to colonize tooth surfaces and form biofilm (dental plaque) that leads to the development of oral infectious diseases, such as caries, gingivitis and periodontal inflammation [74]. The proanthocyanidin fraction inhibited the adhesion (79.0–81.5%) of S. mutans to saliva coated hydroxyapatite (HA) beads in the presence of sucrose and the activity was found to be much higher than dealcoholized red wine. The proanthocyanidin fraction was also able to detach S. mutans attached to HA beads and had a very high biofilm inhibitory activity (89.0%) on the occlusal surface of natural human teeth, being a potential anticariogenic agent [74]. The proanthocyanidin fraction of cranberry was determined by another study for its antibiofilm activity against S. mutans [75]. It reduced the biomass (dry weight) and the total amount of extracellular insoluble polysaccharides of S. mutans biofilms (35–40%) on saliva-coated hydroxyapatite (sHA) discs as well reducing acidogenicity of the biofilms without affecting the viability of the bacterial cells. The glucosyltransferase (GtfB) enzyme activity either in solution or adsorbed on the sHA surface was also effectively inhibited. The incidence and severity of smooth-surface caries were significantly reduced (40–45%) in the in vivo dental caries model using Sprague–Dawley rats infected by mouth with an actively growing culture of S. mutans [75]. Another study also found the proanthocyanidins of cranberry (100 μg/mL) decreased the biofilm formation of E. coli, Proteus. mirabilis, and P. aeruginosa [58]. It also exerted a synergistic antibiofilm activity when combined with the antibiotic sulfamethoxazole which had minimal effect on biofilms when used alone. The A-type proanthocyanidins was found in a study to have potential biofilm inhibitory activity against Porphyromonas gingivalis, a key oral bacterium for periodontitis [76]. At 100 µg/mL, it exerted 60% inhibition of biofilm formation and inhibited adherence of P. gingivalis to epithelial cells (54.1%). The proanthocyanidins also decreased the secretion of IL-8 and chemokine ligand 5 (CCL5) of P. gingivalis-induced inflammatory response in oral epithelial cells and decreased the activity of NF-κB p65 pathway. Various other anthocyanin sources or its fraction, such blueberry, chokeberry, purple barley and blue pea flowers have been shown to have antibiofilm activity (Table 3).

Studies on the antibiofilm activity of acylated anthocyanins are limited. However, when comparing the available literature, the polyacylated anthocyanins from blue pea flowers demonstrated lower antibiofilm activity compared to nonacylated anthocyanins against gram-negative bacteria. For instance, the biofilm inhibition of anthocyanins from blue pea flowers at 5.0 mg/mL concentration was 64% [98] whereas nonacylated anthocyanins from blueberries (Vaccinium corymbosum) demonstrated biofilm inhibition up to 60% at a concentration of 250 µg/mL [85]. However, the mode of action of biofilm inhibition activity of acylated anthocyanins is not fully understood. Therefore, further in-depth studies looking into its mechanism of action would be beneficial in understanding the activity observed.

4 Conclusions and future recommendations

Various research studies are being done to obtain alternatives to antibiotics to treat bacterial infections with the rise of antimicrobial resistance. The anthocyanins or anthocyanin fraction/extract from various sources (cyanidin, malvidin and delphinidin derivatives), being mostly from fruits, have been studied for their potential antibacterial and antibiofilm activities. Many studies investigating anthocyanins against the Gram-positive or Gram-negative bacterial strains have shown much better activity against the Gram-positive strains. However, some studies have also shown it to be equally potent against Gram-positive and Gram-negative strains. The findings of these studies serve as a guide for the potential application of anthocyanins in treating bacterial infections in clinical settings. Further investigation and understanding of the causative pathogen/s of infected patients and the use of relevant anthocyanin source or type (being more selective to that particular bacterial strain) may be used, therefore being more specifically curated to treat the infection based on the causative pathogen. At the same time, infections involving a mix of Gram-positive and Gram-negative bacterial strains may be treated with anthocyanins which are effective against both strain types. Considering the potential of these anthocyanins or their fraction for their antibacterial or antibiofilm activity, further research on treating the co-culture of different bacterial colonies/strains would be beneficial as they may differ in their pathogenicity.

Some of the studies have explored the combination treatment of anthocyanins with antibiotics and which had a potentiating effect. This effect is highly beneficial as anthocyanins alone do not affect bacterial viability but are able to synergise the effect when combined with antibiotics to further reduce bacterial growth and viability. This combination approach would be beneficial in clinical settings as it may help prevent the unnecessary increase in the antibiotic concentration for treatment of infections which may eventually lead to antibiotic resistance. These anthocyanins at concentrations that do not affect bacterial growth have potential antibiofilm activity. Most of the current antibiotics are only effective against the planktonic growth mode of bacteria but not against biofilms, making it challenging for the antibiotics to penetrate into the biofilms to target their growth. Therefore, the combinatorial approach serves as an arsenal to target two different areas of bacterial cell communication and signalling pathway, thus providing a much more significant effect and leading to better treatment outcomes. Research studies looking further into the combinatorial approach of various other anthocyanins to treat different bacterial infections would provide useful information for its potential application for treatment in clinical settings. Several in vivo studies have been done so far, especially in the treatment and prevention of dental caries which was found to have a positive impact. Future in vivo studies looking at different infection models would also be needed to understand the potential of anthocyanins, especially in chronic wounds and biofilm infections involving medical implants or devices.

Most studies have used the anthocyanin fractions of various sources to study its antibacterial or antibiofilm properties. However, quite a number have not characterised the anthocyanin composition. It is also unknown if the cocktail of anthocyanins or some impurities in the fraction may have potentiated or reduced the observed effect. Further isolation of the anthocyanins (major compounds) would be needed to determine the compound most possibly being responsible for the activity, and it may even have much better activity. Obtaining the pure compound responsible for the effect would be important to standardise the potential application (e.g. concentration and dosage) of anthocyanins in clinical settings. Some studies have also shown the potential activity of individual commercial anthocyanins. Thus further studies exploring the chemical structure modification and synthesis of these anthocyanin compounds may yield compounds with improved activity.

With the growing interest and knowledge of the health benefits of anthocyanins, consumers are also looking forward to health or food products containing these active compounds. Incorporating anthocyanins in the food and beverages industries will represent an important value. Focusing on improving formulations and packaging together with consumption safety and compound stability studies is beneficial. Findings obtained from these studies further support the anthocyanins (natural compounds) as alternative sources of antibacterial or anti-infective agent, which has the potential for application in treating bacterial infections and may have the possibility of preventing the development of antimicrobial resistance. Further research into these compounds would be highly beneficial and recommended and their incorporation into health supplements and food products for general well-being.