Introduction

Polyaniline (PANI) is a highly researched conducting polymer with great potential for commercial applications. Over the past four decades, significant interest has been devoted to PANI, owing to its exceptional properties. However, to enhance its thermal and optical properties, researchers have explored the development of copolymers by integrating nanomaterials [1]. Nanostructured conducting polymers have emerged as promising materials in several organic electronic fields, due to their unique structural, mechanical, photoelectric, and electrical properties at the nanoscale [2].

Currently, the incorporation of nanoscale compounds is of utmost importance in various fields. Nanomaterials have found new applications in areas such as photocatalysis [3], electrochemical hydrogen storage [4, 5], recyclable degradation of organic dyes [6], efficient degradation of pollutants for environmental remediation [7], antifouling properties [8], capping agents [9], visible-light-responsive photocatalysts [10], photodecomposition [11], and drug delivery [12, 13], among others.

The unique physical, electrical, chemical, and electrochemical properties [14] of nanomaterials have generated considerable interest in the scientific community, owing to their potential for various applications. These include biosensors [15, 16], rechargeable batteries [17,18,19], light-emitting diodes [20, 21], electrochromic display devices [22, 23], data storage devices, transistors [24], electromagnetic intervention shielding [25], chemical sensors [26], tissue engineering, biomedicine [27], and many more. Additionally, nanomaterials possess properties such as high chemical strength, electron affinity, biocompatibility, and low toxicity, and are readily available at a low cost, making them an attractive option for a wide range of applications. [28]

The properties of conductive polymers are influenced by several factors, including the type of dopant and solvent, dopant ion size, protonation level, and preparation conditions. Altering these parameters can lead to significant changes in the electrical, optical, and structural properties of conductive polymers. The preparation of polyanilines involves the use of different acids as dopants, including both organic and inorganic acids. Electrochemical and chemical oxidative polymerization methods are commonly used for synthesizing polyanilines in an acidic medium. The electrochemical method is preferred for small-scale synthesis, while the chemical oxidative method is used for large-scale synthesis. Typically, potassium persulfate (K2S2O8) and ammonium persulfate ((NH4)2S2O8) are used as oxidants for the chemical polymerization of aniline monomer [29]. This method allows for the production of conducting polymers in a dry form suitable for commercial applications.

Polyaniline (PANI) displays varying solubility in different organic solvents. Generally, a doped form of PANI is insoluble in N-methyl-2-pyrrolidone (NMP), dimethyl sulfoxide (DMSO), and dimethylformamide (DMF), while the undoped form of PANI is soluble in these organic solvents [30]. PANI has garnered significant attention due to its conductive and antimicrobial properties [31]. The basic structure of PANI is illustrated in Fig. 1, where the leucoemeraldine state is composed of the benzenoid state, with the H elements in proximity to the N elements. In contrast, the pernigraniline state is comprised of the quinonoid state, where no H element is attached to N elements. The redox state of PANI is dependent on the quantity of m and n present in the PANI chains.

Fig. 1
figure 1

Structure of polyaniline

Ideally, the m:n ratio for leucoemeraldine, pernigraniline, and incompletely oxidized emeraldine state should be 1:0, 0:1, and 1:1, respectively. However, the synthesis process and level of doping can cause variations in these ratios. While leucoemeraldine and pernigraniline are nonconductive, the moderately doped state known as emeraldine salt exhibits conductive behavior [32]. Therefore, it is essential to maintain a balance between the benzenoid and quinonoid groups in the emeraldine salt to achieve the desired electrochemical properties. Various redox structures of polyaniline, including leucoemeraldine, emeraldine, and pernigraniline in their base and salt forms, are illustrated in Fig. 2.

Fig. 2
figure 2

Various redox structures of polyaniline

The use of quaternary ammonium chitosan-g-PANI results in a material that exhibits both conductivity and antibacterial properties while being biodegradable [33]. In another study, a copolymer of polyaniline and polypyrrole functionalized with chitosan was synthesized and used for Zn (II) adsorption and showed antimicrobial activity against E. coli and E. agglomerans bacteria [34]. Similarly, a polypyrrole-graft-chitosan copolymer was synthesized and compared with several antibiotics, showing equipotent activity with Erythromycin and Amikacin [35]. Other studies have also explored the antibacterial properties of polyaniline and its composites with various drugs, dyes, nanoparticles, and other materials. Kashyap et al. [36] synthesized polyaniline and its drug composites using an oxidative polymerization method with some drugs like trimethoprim, neomycin, and streptomycin. The authors used S. aureus, B. subtilis, S. pyrogenes, S. mutant (gram-positive bacteria), and S. typhi, K. pneumoniae, E. coli, P. aeruginosa (gram-negative bacteria) for antibacterial activity. The drug composites also showed antituberculosis activity in contradiction to Mycobacterium tuberculosis H37RV.

Dye-substituted PANIs have shown antimicrobial behavior against various bacterial and fungal strains. Dyes such as methylene blue, malachite green, azure B, methyl violet, rhodamine 6G, and methyl orange have been used in the synthesis of dye-substituted polyanilines [37]. Furthermore, polyaniline and Fe2O3/PANI nanoparticles were synthesized and tested for antibacterial activity against gram-positive bacteria S. aureus and gram-negative bacteria E. coli, as well as fungal strains [38]. Usnic acid-doped polyaniline has been shown to possess bactericidal activity and anti-biofilm properties derived from lichens. Deposition of doped polyaniline on polyurethane foam may be a viable option for use as a wound dressing [39]. Additionally, a conducting nanocomposite of polypyrrole-co-polyindole doped with carboxylated CNT was synthesized to exhibit antioxidant, antibacterial, and thermal resistance properties [40].

Seyedaghazadeh et al. [41] synthesized an aniline-carbazole copolymer and its carbon-based nanocomposites using the oxidative polymerization technique, and studied their conductivity, antioxidant, and antibacterial properties. Rathore et al. [42] synthesized a chitosan–polyaniline–copper (II) oxide (Ch–PANI–CuO) nanocomposite for the removal of methyl orange dye, with maximum dye degradation of 94.6%. Pandiselvi and Thambidurai [43] synthesized a polyaniline ZnO/chitosan nanocomposite for the removal of reactive orange and methylene blue dyes, achieving removal efficiencies of 96% and 88.5%, respectively.

Functionalized dopants such as sulfonic acids have been used by many researchers to produce extra stable, soluble, and conductive polyaniline. Karaoglan and Bindal [44] synthesized pure PANI, PANI-BSA, PANI-HCl, and PANI-HCl-BSA polymers using the chemical oxidation polymerization technique. BSA doping provided both high conductivity and enhanced solubility. The conductivity of PANI-BSA, PANI-HCl-BSA, and PANI-HCl doped polymers was calculated as 1.39, 0.77, and 0.54 S cm−1, respectively. Tong et al. [45] synthesized a photo-sensitive phytic acid (PAGA) by the ring opening reaction of glycidyl methacrylate and phytic acid (PA), which was used to dope PANI. The doped PANI was then added to UV-curable resin to prepare a UV-curable polyaniline anticorrosive coating. Doping PANI with PAGA successfully increased the dispersion of PANI in coatings.

Yadav et al. [46] synthesized dodecyl benzene sulphonic acid (DBSA) doped PANI nanorods using a template-less route through in situ emulsion polymerization. The resulting sensor efficiently recognizes up to 1 ppm ammonia with good linearity in the 1–50 ppm range. Another method was employed to synthesize conductive PANI doped with dodecyl benzene sulfonic acid in xylene using chemical oxidative polymerization. The synthesized PANI solution was initially combined with UV improvable coating and then coated onto a polyethylene terephthalate (PET) sheet. The resulting UV coating/PANI conductive fused film on the PET sheet was flexible, clear, and had antistatic properties. This film can be useful as an antistatic product or biosensor [47].

Sulfonate zwitterionic ionic liquids were synthesized using methyl-imidazolium (mim.ZIL) or triphenylphosphonium (PPh3.ZIL) as the cations and were varied with dodecylbenzenesulfonic acid to be utilized as a co-doping agent for the synthesis of PANI through inverted emulsion polymerization method in toluene. This blend resulted in PANI with advanced DC conductivity values, and the improved response was achieved with mim.ZIL/DBSA in a molar ratio of 1.0, with DC equivalent to approximately 8 S cm−1. These results are of significant importance for the development of novel electromagnetic shielding or absorbing resources [48].

Li et al. [49] synthesized polyaniline emeraldine-base form (PANI-EB) and polyaniline doped with dodecyl benzene sulfonic acid (PANI-DBSA) by chemical oxidation polymerization. Subsequently, polyaniline/acrylic resin coatings were primed using these polyaniline constituents as antifouling agents. The PANI coating displays good antifouling and anticorrosion activity. The parameters determined from a fit to the polarization plots demonstrate the beneficial role of PANI-DBSA in the anticorrosion performance of the acrylic resin coating.

Furthermore, the fluorophore polyaniline (PANI) was synthesized by doping with benzene sulfonic acid (BSA) to improve processability and mobility of p-electrons along with decreased p-stacking. BSA-PANI is utilized as a fluorophore to understand the interaction between BSA-PANI and commercial HEMs. The BSA-PANI can perform as a latent fluorophore [50]. Indoles play a crucial role in medicinal chemistry as they exhibit advanced biological activities and can produce novel biological properties when linked to other heterocyclic compounds. Indoles have been found to display potent antibacterial and antifungal activity against various test indicator strains, including Aspergillus niger ATCC 16404 [51].

Moreover, indole and its derivatives have been found to possess an extensive range of biological activities, such as anti-Alzheimer's disease, anti-inflammatory, anticancer, antihuman immunodeficiency virus, antibacterial, antidiabetic, antituberculosis, antioxidant, anti-coronavirus, and antifungal activities [52]. Aromatic heterocyclic compounds, which share similarities with various protein structures, are of great interest to organic and medicinal chemists. The rapid development of drug-resistant tuberculosis poses a significant challenge, necessitating the identification of new targets and medicinal candidates. Indole derivatives have emerged as promising antitubercular agents, with indole frameworks incorporating the new non-covalent inhibitor 1,4-azaindole, which inhibits decaprenylphosphoryl-β-D-ribose2′-epimerase (DprE1), currently undergoing medical trials to treat Mycobacterium tuberculosis [53].

Chemical oxidative polymerization was employed to synthesize benzene sulfonic acid (BSA) doped polyaniline, using potassium persulfate (K2S2O8) as an oxidant. To improve the processability and mobility of π-electrons, PANI was doped with benzene sulfonic acid (BSA). PANI copolymers were then synthesized, incorporating heterocyclic compound indole, which exhibits antimalarial, antibacterial, and antifungal activity.

The synthesized copolymers were subjected to characterization using various techniques, including FTIR, 1HNMR, GPC, and TGA. Antibacterial properties were studied against E. coli (MTCC 443), P. aeruginosa (MTCC 1688), S. pyogenus (MTCC 442), and S. aureus (MTCC 96), while antifungal properties were evaluated against A. clavatus (MTCC 1323), A. niger (MTCC 282), and C. albicans (MTCC 227). The antituberculosis activity was studied against Mycobacterium tuberculosis H37RV, and the antimalarial property was evaluated against Plasmodium falciparum.

It was observed that the copolymers of polyaniline-indole exhibited superior biological activity compared to polyaniline alone. The synthesized copolymers demonstrated significant antibacterial, antifungal, antituberculosis, and antimalarial activity, making them potential candidates for use in various biomedical applications.

Experimental

Materials

Analytical grade reagents were utilized in the preparation of PANI and its copolymer. Merck, USA supplied aniline (for synthesis, C6H5NH2, 99.5% pure) and benzene sulfonic acid (BSA, C6H5O3S, 98% pure). Potassium persulfate (PPS, K2S2O8) and ethanol (99.9% purity, containing 0.1% water) were purchased from Thomas Baker, India. Sigma-Aldrich, India supplied tetrahydrofuran (THF) and heterocyclic compound indole (C8H7N, 99% purity). All chemicals were used as received. Aniline and indole monomer ratios of 1:1, 1:2, and 2:1 were used.

Synthesis of polyaniline (PANI)

All chemicals utilized in the polyaniline synthesis process were of analytical grade and used as received. Polyaniline (PANI) was prepared through the chemical oxidative polymerization method. In this experiment, 6.3 mL of aniline was added to an aqueous acidic medium consisting of 1.0 M benzene sulfonic acid (C6H6O3S, BSA) in 20 mL of water. BSA was used as a dopant. The resulting mixture was stirred in an ice bath at 0 °C until a homogeneous solution was obtained (at least 30 min). Polymerization was initiated by the slow dropwise addition of 1.0 M potassium persulfate (K2S2O8, 80 mL) as an oxidant, under constant stirring at 0 °C. After 6 h, the completion of the polymerization reaction was confirmed, and the dark green emeraldine form of polyaniline (PANI) mixture was isolated through separation and washed continuously with distilled deionized water and ethanol until the filtrate was colorless, to ensure the complete removal of any impurities and unreacted reagents. The residue was oven-dried for 24 h at 50–60 °C to obtain a smooth powder of the polyaniline. The synthesized PANI was found to be in the dark green emeraldine salt form after washing, as shown in Scheme 1.

Scheme 1
scheme 1

Synthesis of polyaniline

Synthesis of PANI-indole copolymers

The copolymer was synthesized via the chemical oxidation method using three different weight-to-volume ratios of aniline to indole (i.e., 1:1, 1:2, and 2:1). In a typical experiment, 1.6 mL of aniline and 1.6 g of indole were dissolved in an aqueous acidic medium containing 20 mL of 1.0 M benzene sulfonic acid (C6H6O3S, BSA) while stirring in an ice bath at 0 °C. Next, 1.0 M potassium persulfate (K2S2O8) was added dropwise to the acidified solution containing aniline at 0 °C under constant stirring to initiate polymerization. After 6 h, a dark green precipitate was obtained through filtration and washed with distilled deionized water and ethanol until the filtrate was colorless to ensure complete removal of any impurities and unreacted reagents. The pure PANI-indole copolymer synthesized using this method was found to be dark green in color after washing and drying. The residue was oven-dried for 24 h at 50–60 °C to obtain a free-flowing powder of the polyaniline-indole copolymer. Similarly, indole-to-aniline ratios of 1:2 and 2:1 were synthesized under the same experimental conditions. The reaction mechanism for the formation of the PANI-indole copolymers is shown in Scheme 2.

Scheme 2
scheme 2

Synthesis of polyaniline-indole copolymer

Characterization of synthesized copolymers

Chemical characterization is crucial to understanding the properties of polymeric materials and their structure. The synthesized PANI-indole copolymers were analyzed using several techniques, including FTIR, 1H-NMR, TGA, and GPC. The GPC method was utilized to determine the weight average molecular weight (Mw), number average molecular weight (Mn), and polydispersity index (PDI) of the copolymer composites using Perkin-Elmer 200 pumps and two ultra-Styragel columns.

ALPHA FTIR spectrometer (Bruker) was employed to obtain IR spectra between 400 and 4000 cm−1. The chemical sample holder was flushed through dry air and washed through a solvent for scanning the copolymers. For this spectral technique, dried samples were prepared with the KBr disk method.

The TGA thermal analysis method was used to determine the thermal properties of the synthesized copolymer. The thermal stabilities of the PANI-indole copolymers were investigated under a Nitrogen atmosphere using the TGA technique, from 25 to 800 °C at a heating rate of 10 °C/min.

The 1H-NMR spectra were obtained using the Advance NEO Spectrometer (Bruker) with a frequency of 1H-NMR of 500 MHz, and the solvent used was DMSO. The 1HNMR and FTIR studies confirmed that doping caused structural changes in the polymer chains.

Results and discussion

The synthesis of PANI-indole copolymer using benzene sulfonic acid as a dopant and potassium persulfate as an oxidant was carried out in this study. To the best of our knowledge, this is the first time BSA has been used as a dopant in the synthesis of PANI-indole copolymer. The washing process effectively removed the oxidant from the copolymer, preventing contamination by the oxidation products of benzene sulfonic acid. The use of indole as an active heterocyclic compound in the synthesis of PANI copolymers was chosen due to its known biological activities, such as anticancer, antioxidant, anti-inflammatory, antifungal, anticholinesterase, and antibacterial properties [54]. Our aim was to synthesize a biologically active indole-based PANI copolymer to enhance the activity of PANI.

FTIR analysis

The FTIR spectra analysis confirmed that doping resulted in structural changes in the polymer chains. Table 1 and Fig. 3 present the FTIR data of both polyaniline and polyaniline-indole copolymer. Several shifted bands observed in the FTIR spectra of PANI-indole copolymer indicate an improvement compared to PANI alone. The FTIR spectra of the copolymer were obtained and compared with those of PANI alone. The specific peak of both polyaniline and indole is evident in the FTIR spectra of the copolymer as shown in Fig. 3, indicating the successful synthesis of the PANI-indole composite. The FTIR spectra of the synthesized copolymer containing indole and aniline were obtained in the range of 4000–600 cm−1.

Table 1 FTIR spectra of PANI and PANI-indole copolymer
Fig. 3
figure 3

IR spectra of (a) PANI, b PANI-indole copolymer [S1], c PANI-indole copolymer [S2], and d PANI-indole copolymer [S3]

The band observed at 1570 cm−1 is attributed to the stretching vibrations of the N–H bond, indicating that indole did not polymerize through nitrogen. The characteristic peaks at 1500 cm−1 and 1686 cm−1 correspond to –C=C– stretching of pyrrole rings and benzene rings in indole, respectively, in the synthesized copolymer. The C–H stretching band is observed at 810 cm−1 and 690 cm−1 in the FTIR spectra of PANI-indole copolymer, and the peak at 742 cm−1 is the characteristic peak of the benzene ring in indole. The –C=C– bond presents equally in the N–B–N ring and N=Q=N ring. Here, B and Q are denoted as the benzenoid rings and the quinoid rings in the polyaniline chain structure. These results indicate that N–H bonds in indole are along the polymer backbone, suggesting that polymerization of indole and polyaniline occurred between carbon-3 of indole and the nitrogen atom of polyaniline. Comparison of the absorption wavenumbers reveals that some absorption wavenumbers of the copolymer are different from those of polyaniline.

1H-NMR analysis

The NMR study was conducted to investigate the proton peaks in PANI and PANI-indole copolymer. The obtained 1H-NMR spectral data of polyaniline and PANI-indole copolymer are presented in Table 2 and Fig. 4. The wide-range multiplets observed in the range of 6.65–7.91 ppm correspond to the aromatic protons of the PANI polymer chain in the copolymer. The singlet peak at 5.8 ppm is attributed to the quinoid ring proton obtained in the polymer chain of the copolymer. Two singlet peaks in the range of 2.5–3.4 ppm are observed due to para-position N–H of PANI.

Table 2 1H-NMR data of PANI and PANI-indole copolymer
Fig. 4
figure 4

1H-NMR data of (a) PANI and b PANI-indole copolymer

Furthermore, in the 1H NMR spectra of the N–H bond in indole, the peaks are observed at 10.5 ppm, whereas pyrrole peaks are observed in the range of 8.5–9.1 ppm. The combination of the benzene ring with the pyrrole ring led to the chemical shift of the N–H bond to move to a lower region of spectra. The chemical shift around 11–11.5 ppm can be assigned to the N–H bond in copolymers, indicating that the N–H bond is present in the copolymer chain, which is consistent with the FTIR results.

Thermogravimetric analysis

The thermal properties of synthesized polymers are very essential for their applications. To confirm the copolymer formation and to compare the thermal behaviors of copolymers, TGA curve was obtained. The thermal stabilities of the PANI and PANI-indole copolymer were examined by the TGA technique shown in Table 3 and Fig. 5. The weight loss temperatures of the synthesized PANI and its indole copolymers are different from each other. The primary weight loss of the copolymer took place at below 100 °C, which could be ascribed to exclusion of lightly bonded H2O molecules present in the copolymer, while the weight losses observed below 250 °C may have stemmed from the loss of dopants. Both PANI and PANI-indole copolymer were prepared by the same doping agent that’s why both are showed weight losses below 250 °C. The weight loss observed above 500 °C resulted from the degradation of the PANI-indole copolymer. The consequent weight loss is related to the continuing breakdown of the PANI-indole copolymer. The graph identifies that PANI-indole copolymer is more thermal stable as compared to PANI individuals. Additionally, the indole heterocyclic compound molecules rise the inflexibility of polymer chains of the synthesized copolymers. Thermal behaviors also support that synthesized polymer is indole containing polymer.

Table 3 Thermogravimetric analytical data of PANI and PANI-indole copolymer
Fig. 5
figure 5

TGA graph of (a) PANI and b PANI-indole copolymer [S1]

The thermal properties of polymers are critical for their practical applications. In order to confirm the copolymer formation and compare the thermal properties of the copolymers, TGA analysis was conducted. The TGA curves for PANI and PANI-indole copolymer are presented in Table 3 and Fig. 5. The weight loss temperatures of the synthesized PANI and its indole copolymers are distinguishable from each other. The initial weight loss of the copolymer occurred at below 100 °C, which could be attributed to the removal of loosely bonded H2O molecules present in the copolymer, while the weight losses observed below 250 °C may have resulted from the loss of dopants. Since both PANI and PANI-indole copolymer were prepared using the same doping agent, they showed weight losses below 250 °C. The weight loss observed above 500 °C was due to the degradation of the PANI-indole copolymer. The subsequent weight loss is related to the ongoing breakdown of the PANI-indole copolymer. The TGA data indicates that the PANI-indole copolymer is more thermally stable than PANI alone. Additionally, the incorporation of indole heterocyclic compound molecules enhances the rigidity of the polymer chains in the synthesized copolymers. The thermal behavior data supports the presence of indole in the copolymer.

Gel permeation chromatography

The molecular weight and polydispersity index (PDI) of PANI and PANI-indole copolymers play a crucial role in determining their properties and potential applications. Gel permeation chromatography (GPC) was used to determine these parameters. The GPC analysis revealed that the PANI-indole copolymers exhibited only a single peak, indicating the successful incorporation of indole moieties into the PANI backbone. This result also indicates that any unreacted aniline and indole moieties were effectively removed by washing with deionized distilled water and ethanol.

The polydispersity index (PDI) values for PANI and PANI-indole copolymers with different ratios of aniline to indole (1:1, 1:2, and 2:1) were determined from the GPC data. The PDI values were found to be 1.53, 1.13, and 1.532, respectively, indicating that the PANI-indole copolymers have a narrower molecular weight distribution than PANI alone. These results suggest that the incorporation of indole moieties into PANI leads to more homogeneous polymerization, resulting in a more uniform product with enhanced properties. The GPC results are summarized in Table 4.

Table 4 GPC data of polyanilne and polyaniline-indole copolymers

Biological activity

Antimicrobial properties

The antibacterial and antifungal activity of PANI-indole copolymer was evaluated against four different bacterial cultures and three fungal cultures, using the micro broth dilution method at various concentrations (200, 100, 50, 25, 12.5, and 6.250 µg/mL). The bacterial cultures included two gram-negative bacteria (P. aeruginosa (MTCC 1688) and E. coli (MTCC 443)) and two gram-positive bacteria (S. pyogenus (MTCC 442) and S. aureus (MTCC 96)), while the fungal cultures consisted of A. niger (MTCC 282), A. clavatus (MTCC 1323), and C. albicans (MTCC 227). The minimum inhibitory concentration (MIC) was used to assess the antibacterial and antifungal activities of PANI and PANI-indole copolymer, with MIC being defined as the lowest level of antibiotics in a culture medium that can prevent bacterial or fungal growth. The zone of inhibition, which refers to the area around an antibiotic disk with no bacterial growth, was also determined.

The antibacterial and antifungal activities of PANI and PANI-indole copolymer are presented in Tables 5 and 6 and Figs. 6 and 7, respectively. The synthesized PANI-indole copolymer showed better antibacterial and antifungal activity than PANI. The antibacterial activity of PANI-indole copolymer was also compared with that of other standard drugs, including ampicillin, chloramphenicol, norfloxacin, gentamycin, and ciprofloxacin. The results indicate that the PANI-indole copolymer has promising potential as a prophylactic agent against bacterial and fungal infections.

Table 5 Antibacterial activity of PANI, PANI-indole copolymer, and some standard drugs
Table 6 Antifungal activity of PANI, PANI-indole copolymer, and some standard drugs
Fig. 6
figure 6

Antibacterial activity of PANI, PANI-indole copolymer, and some standard drugs

Fig. 7
figure 7

Antifungal activity of PANI, PANI-indole copolymer, and some standard drugs

Antituberculosis properties

The antituberculosis activity of PANI and PANI-indole copolymer (S1) was investigated against M. tuberculosis H37RV (acid fast bacilli, AFB) at various concentrations (100, 50, 12.5, 6.25. 3.125, 10, 5, 2.5, 1.25, 8, 4, 2, 1, 0.5, and 0.25 µg/mL). The minimum inhibition concentration (MIC) of PANI and PANI-indole copolymer against M. tuberculosis H37RV is summarized in Table 7. Tuberculosis is an infectious disease caused by the gram-positive bacteria M. tuberculosis, which primarily attacks the lungs but can also damage other parts of the body [55]. The polyaniline-indole copolymer can potentially target the cell wall synthesis of M. tuberculosis, thereby inhibiting the growth of the bacteria. These findings suggest that PANI-indole copolymer has the potential to be used as a therapeutic agent against tuberculosis, and further investigations are needed to explore its efficacy in treating this disease.

Table 7 The antituberculosis activity of PANI, PANI-indole copolymer, and some standard drugs

Antimalarial activity

The antimalarial activity of the PANI-indole copolymer (S1) was evaluated against P. falciparum parasites, as shown in Table 8. The P. falciparum strain was maintained in RPMI 1640 medium supplemented with 1% D-glucose, 25 mM HEPES, 0.23% sodium bicarbonate, and 10% heat-inactivated human serum. Asynchronous P. falciparum parasites in the ring phase were obtained by treatment with 5% D-sorbitol. A starting parasitemia of 0.8–1.5% at 3% hematocrit in a total volume of 200 µL RPMI 1640 medium was used for the assay, and parasitemia was determined using Jaswant Singh Bhattacharya (JSB) stain, which stains parasitized cells. The culture plates were incubated at 37 °C in a candle jar. For the assay, 5 mg/mL of the test samples were prepared in DMSO and subsequent dilutions were made using culture medium. The diluted samples (20 µL) were added to the test wells to obtain final concentrations ranging from 0.4 to 100 µg/mL in duplicate wells containing the parasitized cell preparation. After 36–40 h of growth, thin blood smears were prepared from each well and stained with JSB. The development of ring-phase parasites into trophozoites and schizonts in the presence of various concentrations of the experimental mediators was microscopically observed. The concentration of the test mediator that completely inhibited growth into schizonts was noted as the minimum inhibitory concentration (MIC) [56, 57]. The average number of rings, trophozoites, and schizonts per 100 parasites from identical wells were noted after 38 h of growth, and the percent growth inhibition relative to the control group was calculated. This data can help in assessing the potential use of PANI-indole copolymers in combination with other antimalarial agents as a prophylactic measure against malaria.

Table 8 Antimalarial activity of PANI-indole copolymer, and standard drugs

Conclusion

In conclusion, the successful synthesis of PANI-indole copolymer using the chemical oxidative polymerization method has been demonstrated. The copolymerization of aniline and indole was thoroughly characterized using various techniques such as FTIR, 1H-NMR, TGA, and GPC, revealing the properties of the copolymer to be strongly dependent on the ratios of monomer concentration. The synthesized copolymer exhibited excellent antibacterial activity against both gram-positive and gram-negative bacteria, outperforming PANI and standard drugs. Specifically, the PANI-indole copolymer demonstrated remarkable antimicrobial activity against S. pyogenus (MTCC 442) due to its excessive positive charge and oxidizing potential. Moreover, the copolymer also displayed good antituberculosis and antimalarial activity when compared to PANI. Thus, the PANI-indole copolymer shows potential as a material for decontamination of microbes. The findings suggest that by controlling the monomer concentrations in polymerization solutions, copolymers with desirable properties can be synthesized. Overall, this study provides valuable insights for the development of new materials with enhanced antimicrobial properties.