1 Introduction

Xanthine is a purine base found in most human body tissues and fluids and in other organisms. It is found in muscle tissue, liver spleen, pancreas and other organs as well as in the urine. It is formed during the degradation of adenosine monophosphate. It is created from guanine by guanine deaminase. Xanthine is produced naturally by both plants and animals. Methylxanthines are a unique class of drug that are derived from the purine base xanthine. They are a group of naturally occurring agents present as caffeine, theophylline and theobromine. Naturally, they occur in substances found in coffee, tea, chocolate and related foodstuffs (Waller and Sampson 2018). Caffeine is found in coffee beans tea leaves, cacao seeds, beans and kola nuts; theophylline is found in tea leaves; theobromine is found in cacao seeds and beans.

Methylxanthines have vasodilatory, anti-inflammatory and immunomodulatory actions. They increase chemoreceptor sensitivity as well as respiratory drive and can also improve diaphragmatic contractility (Poets 2018). They may help to prevent acute airway hyper responsiveness but do not appear to produce these effects chronically. However, life-threatening events such as cardiac arrhythmia and seizures are associated with toxic levels of theophylline (> 30 μg/mL). As a result, methylxanthines are recommended only as adjunctive therapy with close monitoring of serum concentrations and cardiac monitoring (Heltzer and Spergel 2007). They have been used as the mainstay of pharmacologic treatment of apnea of prematurity for several decades (Gauda and Martin 2012).The methylxanthines theophylline and dyphylline are used in the treatment of airways obstruction caused by conditions such as asthma, chronic bronchitis, or emphysema, chronic obstructive pulmonary disease (COPD) (Beale 2011). Methylxanthines are nonselective inhibitors of phosphodiesterase and are said to have modest bronchodilator effect by this mechanism. Methylxanthines have been described as being able to act as mild psychostimulants (Lorist and Tops 2003; Nehlig 2010; Mitchell et al. 2011; Franco et al. 2012). Epidemiological studies related caffeine consumption in healthy subjects with prevention of neurodegenerative diseases (Nehlig 2010); in particular it seems that consumption of caffeinated coffee could prevent or defer the onset of AD and PD and has a decreased bronchodilating effect (Maia and De Mendonca 2002; Eskelinen et al. 2009; Costa et al. 2010). Methylxanthine mechanisms of action at the CNS level include antagonism of adenosine receptors, regulation of intracellular calcium levels, phosphodiesterase inhibition, and modulation of GABA receptor action (Franco et al. 2012).

Onatibia-Astibia et al. (2016) studied the potential of methylxanthine-based therapies in pediatric respiratory tract diseases. In their study, they presented the benefits of methylxanthine-based therapies in the apnea of prematurity and their translational potential in pediatric affections of the respiratory tract.

The mechanism of action of methyxanthines can be partially explain by the inhibition of the enzyme phosphodiesterase (PDE), which degrades cyclic nucleotide second messengers. Theophylline preferentially inhibits the isoenzymes PDE3 (which degrades cAMP and cyclic guanosine monophosphate [cGMP]) and PDE4 (which degrades cAMP). PDE3 is found in bronchial smooth muscle and PDE4 in several inflammatory cell types, including mast cells. The rise in intracellular cAMP in bronchial smooth muscle stimulates large-conductance voltage-gated Ca2+−activated K+ channels (BKCa) in the cell membrane, leading to cell hyperpolarization and muscle relaxation. However, theophylline only produces bronchodilation at relatively high plasma concentrations, and drugs that are more effective PDE inhibitors (such as dipyridamole) do not bronchodilate. Prolonging the duration of action of cyclic nucleotides may potentiate the action of β2-adrenoceptor agonists and produce a synergistic dilator effect on bronchial smooth muscle. PDE inhibition also stimulates ciliary beat frequency in the airways and enhances water transport across the airway epithelium, which increases mucociliary clearance. In contrast, theophylline increases the force and rate of contraction of cardiac muscle through its effect on cAMP, but also causes arterial vasodilation by inhibiting the breakdown of cGMP (Poets 2018).

Adenosine receptor antagonism may be relevant to some of the clinical effects of methylxanthines. Adenosine releases histamine and leukotrienes from mast cells, which results in the constriction of hyperresponsive airways in individuals with asthma. Theophylline is a potent antagonist at adenosine A1, A2 and A3 receptors and may reduce bronchoconstriction by this mechanism. Adenosine receptor antagonism is responsible for central nervous system (CNS) stimulation, which improves mental performance and alertness, has positive inotropic and chronotropic effects on the heart, and in the kidney reduces tubular Na+ reabsorption, which leads to natriuresis and diuresis (Poets 2018).

Our study is based on the methylxanthine Theophylline and Theobromine. Theophylline is the most commonly used methylxanthine. Theophylline is reported to improve inspiratory muscle function and have anti-inflammatory effects (Han and Lazarus 2016). It has been used for the treatment of asthma and is one of the most prescribed drugs because of its effectiveness and it is cheap (Onatibia-Astibia et al. 2016; Barnes 1996). Theophylline has demonstrated efficacy in attenuating the three cardinal features of asthma reversible airflow obstruction, airway hyper responsiveness, and airway inflammation. At lower serum concentrations, theophylline is a weak bronchodilator but retains its capacity as an immunomodulator, anti-inflammatory, and bronchoprotective drug but at high serum levels, toxic side effects are observed (Tilley 2011). It produces relaxation in the airways and of mascular smooth muscle thus decreasing the mean pulmomary arterial pressure (Rabe et al. 1995; Onatibia-Astibia et al. 2016). Theophylline and doxofylline synthetic xanthine derivative, have been recommended for the treatment of disorder caused by heavy air pollution in some Chinese cities which affects the lung function and exacerbates chronic obstructive pulmonary disease COPD with positive results and has proven efficacy (Akram et al. 2012). Theophylline has been tested for its therapeutic potential in the renal impairment following administration of nephrotoxic substances such as radio contrast media, cisplatin, calcineurin inhibitors or following ischemia–reperfusion injury since it enhanced intrarenal adenosine levels lead to reduced glomerular filtration rate in several pathological conditions (Osswald and Schnermann 2011).

Studies on Theobromine shows that it is present in high amounts in chocolate and cocoa and stimulates the central nervous system (CNS) in a lesser degree (Gates and Miners 1999). Nevertheless, theobromine consumption has health benefits, including protection of the enamel surface (Kargul et al. 2012) and cough suppression (Halfdanarson and Jatoi 2007). Growing evidence suggest that Theobromine may be a new and promising antitussive treatment for patients with either acute or chronic coughing (Tilley 2011). Furthermore, Theobromine has been shown to increase plasma HDL cholesterol and decrease plasma LDL cholesterol concentrations, conferring cardiovascular protection and reducing the risk of coronary heart disease (Khan et al. 2012; Neufingerl et al. 2013). Moreover, experiments in human and guinea-pig vagus nerve preparations have proven that Theobromine directly inhibits sensory afferent nerve activation (Usmani et al. 2005). It coraborate with the ability of methylxanthines to regulate the activation of human intermediate-conductance Ca2 + activated potassium channels which are key in controlling afferent and efferent vagal activity as recently described (Fox et al. 1997; Shcroder et al. 2000). Theobromine acts as a uric acid crystallization inhibitor, with high clinical potential in the treatment and prevention of uric acid nephrolithiasis (Grases et al. 2014).

Experimental and theoretical studies have been carried out on these molecules to determine some of the properties of the molecules. An overview of the molecular spectroscopic on Theobromine and it related alkaloids has been carried by Tewari et al. 2012 (Tewari et al. 2012). In 2018, Bilkan study effects of solvent on the spectroscopic and structure properties of Theobromine (Bilkan 2018). In 2007, Bilkan used Hatree Fock and Density functional theory to study the effect of solvent on Theobromine (Bilkan 2017) while Ucun et al. carried out some quantum chemical calculations on the molecular structures and vibrational frequencies of Xanthine and its methyl derivatives (Ucun et al. 2007). Camiruaga et al. (2019) studied the influence of the relative position of the methyl substituent on the photophysics of theophylline and theobromine, which are structurally related to the DNA bases.

Nolasco et al. (2006) used a new computationally-assisted methodology, which accounts for the effects of intermolecular interactions in crystal, to study the assignment of Raman and infrared vibrational spectra at room temperature of crystalline caffeine, theobromine, and theophylline. In their studies, the vibrational shifts due to crystal packing interactions were evaluated from ab initio calculations for a set of suitable molecular pairs, using the B3LYP/6-31G* approach. Their proposed methodology provides an answer to existing demand for a reliable assignment of the vibrational spectra of these methylxanthines, and clarified several misleading assignments (Nolasco et al. 2006). Changenet-Barret in 2016, studied the Xanthines using Femtosecond Fluorescence Spectroscopy (Changenet-Barret et al. 2016). The objective of their study was to provide a first insight into the dynamical properties of xanthine fluorescence. The main investigation tool of their study was the femtosecond fluorescence spectroscopy using fluorescence up conversion, a technique which has widely proven to be valuable for the study of DNA bases whose fluorescence is extremely short-lived (Onidas et al. 2002; Gustavsson et al. 2010). They examined four monomethylated derivatives, Theophylline, Theobromine and five other methylated xanthines characterized by different methylation sites and various degrees of methylation. Furthermore, it has been shown that the self-association of Theophylline, Theobromine and other xanthine derivatives can give rise to four-stranded structures (Szolomájer et al. 2011; Paragi et al. 2011; Novotny et al. 2012; Novotny et al. 2014; Yurenko et al. 2014), which have attracted attention to their applications in the field of molecular electronics (Livshits et al. 2014).

In this regard, in order to understand the structural, electronic, optoelectronic, the thermodynamic properties, the pharmacokinetics and pharmacodynamics of these molecules, we determined the dipole moment, average polarizability, anisotropy, first molecular hyperpolarizability, molar refractivity, LUMO–HOMO energy band gap, ionization potential, electron affinity, Kohn–Sham HOMO–LUMO gap, work function, chemical hardness, chemical softness, electronic chemical potential, electronegativity, electrophilicity index, the partition coefficients, electric flied, polarization density, dielectric constant, displacement vector, electric susceptibility and refractive index of Theophylline and Theobromine. To the best of our knowledge, there are not enough studies in literature on the investigation of the structural, electronic, optoelectronic and thermodynamics properties of Theophylline and Theobromine.

2 Methodology

The optimized molecular structures, structural properties, vibrational frequencies thermochemical properties and electronic properties of theophylline and Theobromine were calculated using the Gaussian 09 quantum code (Frisch et al. 2009) and the Gauss view 5 visualization program (Dennington et al. 2008). Initially, the molecular structures were optimized using the RHF method with inclusion of the 3-21 basis set and further refine with the 6-311++G** basis set. Finally, the DFT was used with the wB97XD and B3LYP functional using by 6-311++G** basis set. This is because the DFT method has proven to be one of the most accurate methods for the computation of the electronic structure of solids (Davydyuk et al. 2013; Ejuh et al. 2018a, b, 2020a, b; Fankam Fankam et al. 2020; Reshak et al. 2011, 2013, 2014a, b, c, 2017).

3 Results and discussion

3.1 Optimized molecular structure and Geometric Parameters of the molecules Theophylline and Theobromine

The optimized molecular structures of Theophylline and Theobromine are given in Fig. 1. The bond lengths of the molecules are reported in Table 1 while the bond angles are reported in Table 2. We observed that the bond lengths and bond angles of the molecules are approximately the same at RHF, wB97XD and B3LYP level of theories. The differences between the bond lengths is less than 0.02 A° while the differences between the bond lengths is less 1 degree. We did not find any existing results of the bond length and bond angles for Theophylline in literature to compare our results with. From Table 1, we observed that the calculated C–N, C–C and N–H bond lengths of Theobromine are approximately equal to the theoretical and experimental bond length given in literature with the values of wB97XD being in better accord (Ford et al. 1998; Bilkan 2018). The experimental values are given in bracket. The differences between calculated and experimental bond length is less than 0.02 Å and less than 1 degree for the bond angles. We noticed that the single C1–C4 bond length is shorter than the C1–C2 double bond length. The calculated C–N bond lengths were in better accord with the experimental data given in literature (Ford et al. 1998; Bilkan 2018) compared to the other bond length. Similarly, the C–C–C, C–N–C O–C–N, N–C-N and C–C–O bond angles of Theobromine are approximately equal to experimental values given in literature (Ford et al. 1998) compared to the theoretical values reported in literature (Bilkan 2018). This may be due to the difference in basis set.

Fig. 1
figure 1

Optimized molecule structure of Theophylline (left) and Theobromine (right)

Table 1 Bond length of Theophylline and Theobromine obtained by using the RHF, wB97XD and B3LYP with inclusion of the 6-311++G** basis set
Table 2 Bond Angles of Theophylline and Theobromine obtained by using the RHF, wB97XD and B3LYP with inclusion of the 6-311++G** basis set

3.2 Linear and nonlinear properties

The linear and nonlinear properties such as dipole moment \(\mu\), average polarizability \(\left\langle \alpha \right\rangle\), anisotropy \(\Delta \alpha\), first molecular hyperpolarizability \(\beta_{mol}\), second molecular hyperpolarizability \(\gamma\), and molar refractivity MR of the methylxanthine Theophylline and Theobromine were determined and are reported in Table 3. The study of polarizability and hyperpolarizability helps in understanding many physical phenomena (nonlinear optics, scattering and phenomena induced by interaction). Secondly, they are useful in molecular simulations and modeling of fundamental process and the search of new optical materials. Thirdly, they are useful in pharmacology where they are used as descriptors in quantitative structural analysis relationship (QSAR) and drug design (Murthy et al. 2007). Average polarizability and anisotropy are useful in polarizability studies and are of great experimental interest as reported in literature (Costa 2010). Hence the high values of \(\left\langle \alpha \right\rangle\) and \(\gamma\) permit us to have good information on the polarizability and gives room for experimentation so as to better understand the behavior of these molecules.

Table 3 Dipole moment \(\mu\), average polarizability \(\left\langle \alpha \right\rangle\), Anisotropy \(\Delta \alpha\), first molecular hyperpolarizability \(\beta_{mol}\), second molecular hyperpolarizability \(\gamma\), and Molar refractivity MR, LUMO–HOMO Energy band gap Eg, Ionization potential IP, Electron affinity EA, Kohn–Sham HOMO–LUMO gap \(E_{g}^{KS}\), work function EF, chemical hardness \(\omega\), chemical softness \(\varsigma\), electronic chemical potential \(\vartheta\), electronegativity \(\phi\) electrophilicity index \(\delta\) and the partition coefficients logP of Theophylline and Theobromine molecules obtained at the RHF, wB97XD and B3LYP level of theory using the 6-311++G** basis set

The polarizability of the molecules is closely related to the hardness and electronegativity and gives us information on the binding, reactivity and selectivity of the molecules. The large values of average polarizability, hardness and electronegativity of these molecules permit us to say that these molecules can easily bind and react with other molecules. Hence, we can say that these molecules can easily bind and react with the enzymes produce by the Corona virus. Polarizability is also related to molar refractivity, lipophilicity, molar volume and steric bulk as found in literature (Carrasco-velar et al. 2004; Padron et al. 2002). The molar refractivity which is also an important property in QSPR analysis was calculated from the expression \(M_{R} = \frac{{\left( {\eta^{2} - 1} \right)\left( {\eta^{2} + 2} \right)}}{\rho }Mw = 1.333\pi {\rm N}\left\langle \alpha \right\rangle ,\) where \(\rho\) = density, \(\eta\) = refractive index, N = Avogadro number and \(\alpha\) = polarizability of the molecule. The values of the dipole moment tells us that this molecules are polar with Theobromine being more polar than Theophylline.

Equally, the large values of the dipole moment, average polarizability and hyperpolarizability of Theophylline and Theobromine permit us to conclude that the molecules have high binding affinity which implies they have good therapeutic index as documented in literature (Shi et al. 2000; Vrishnakumar and Nagalakshni 2008; Murthy et al. 2007; Kajzar et al. 2003; Costa 2010; Carrasco-velar et al. 2004; Padron et al. 2002; Kajzar et al. 2003; Ejuh et al. 2018a, b; Tadjouteu Assatse et al. 2019a, b; Veved et al. 2019; Fonkem et al. 2019, 2020; Yossa Kamsi et al. 2019). This is because polarizability, hyperpolarizability and hyper-order electric moments can be used to study the toxicity of drugs and polarizability is the main factor influencing the binding affinity of the drug. This can be explained by the fact that polarizability is a representation of molecular hydrophobicity (Gu et al. 2007). Hence, the large values of the polarizability of the molecules show that the molecules have high binding affinity. Equally, studies have shown that binding to an active pocket of some receptor depends on the electronic structure of the ligand, with a significant contribution from dipole moment and polarizability (LaPointe and Weaver 2007). This may be due an electrostatic field generated by the receptor, and therefore would affect more strongly and interact with molecules which have a higher dipole moment or polarizability (Ferreira et al. 2009).

From the values of \(\mu\), \(\left\langle \alpha \right\rangle\), \(\Delta \alpha\), \(\beta_{mol}\), MR, \(\gamma\) and from literature (Rabe et al. 1995; Barnes 1996; Maia and De Mendonca 2002; Lorist and Tops 2003; Heltzer and Spergel 2007; Eskelinen et al. 2009; Costa et al. 2010; Nehlig 2010; Beale 2011; Mitchell et al. 2011; Osswald and Schnermann 2011; Tilley 2011; Akram et al. 2012; Franco et al. 2012; Gauda and Martin 2012; Han and Lazarus 2016; Onatibia-Astibia et al. 2016; Poets 2018), we suggest that Theophylline and Theobromine may be consider as candidates for the treatment of COVID-19 since these molecules have high binding affinity, anti-inflammatory and immunomodulatory actions which is in line with CNN report of 23 March 2020. Based on this CNN News it was reported that some Chinese Medical Doctors have proposed that methylxanthines could be used for the treatment of COVID-19. This is due to the fact that these molecules can improve inspiratory muscle function, have anti-inflammatory effects and are being used for the treatment of airways obstruction caused by conditions such as asthma, chronic bronchitis, or emphysema, chronic obstructive pulmonary disease.

Equally the values of the \(\beta_{mol}\) and \(\gamma\) of Theophylline and Theobromine is associated with the intramolecular charge transfer transfer resulting from the electronic cloud movement through the pi—conjugate from the electron donor to the electron acceptors which may result in linear and nonlinear optical activities (Shi et al. 2000; Vrishnakumar and Nagalakshni 2008). Hence, the molecules may equally have applications in linear and nonlinear optical active devices, photonic devices and in molecular electronics (Livshits et al. 2014). This is due to the fact that the value of the dipole moment, the average polarizability, molar refractivity and second hyperpolarizability of the molecules at the RHF and DFT levels are larger than the corresponding value of Urea as reported in literature (Tadjouteu Assatse et al. 2019b, Fonkem et al. 2019, 2020; Nkungli and Ghogomu 2016; Song and Farwell 2004). Urea is one of a prototype molecule used for the purpose of comparison in the study of nonlinear optical (NLO) properties of molecular systems. Furthermore, the large values of the second-order molecular hyperpolarizability show that the molecules may have second harmonic generation, optical rectification, electro-pockel effect, electric induced second harmonic generation and the electro-optic Kerr effect. The values of \(\mu\), \(\left\langle \alpha \right\rangle\), \(\Delta \alpha\), \(\beta_{mol}\), MR, \(\gamma\) were determined using equations found in our previous works reported in literature (Ejuh et al. 2018a, b; Tadjouteu Assatse et al. 2019a; Veved et al. 2019; Fonkem et al. 2019, 2020; Yossa Kamsi et al. 2019; Veved et al. 2020).

3.3 Electronic and chemical descriptors of the molecules

The electronic and chemical descriptors of the molecules of the HOMO–LUMO Energy band gap Eg, Ionization potential IP, Electron affinity EA, Kohn–Sham HOMO–LUMO gap \(E_{g}^{KS}\), work function EF, chemical hardness \(\omega\), chemical softness \(\varsigma\), electronic chemical potential \(\vartheta\), electronegativity \(\phi\) and electrophilicity index \(\delta\) of Theophylline and Theobromine molecules obtained at the RHF, wB97XD and B3LYP level of theory using the 6-311++G** basis set are reported in Table 3. This was done in order to identify the nature of the pharmacological properties of this molecules. The HOMO–LUMO molecular orbitals diagrams of the molecules Theophylline and Theobromine are shown in Fig. 2a, b respectively. The energy of the HOMO is directly related to the ionization potential (IP = − EHOMO) and that of LUMO is linked directly to the electron affinity EA = − ELUMO). The HOMO and LUMO are very important quantum chemical parameters which are used to calculate many important parameters such as LUMO–HOMO Energy gap, Ionization potential, electron affinity, chemical potential, chemical hardness, chemical softness, electronegativity, electrophilicity index. These orbitals control the mode of the interaction of the drugs with other molecules such as the interactions between these drugs and their receptors. The Eg gives us knowledge on the chemical activity of the molecules. HOMO–LUMO Energy band gap Eg is used by the frontier electron density for the estimation of the most reactive sites in pi-electron systems and explain many types of reactions in conjugate systems (Shahidha et al. 2015). The Eg values obtained from our studies eventually explains the charge transfer interactions taking place within Theophylline and Theobromine which is in line as reported in literature (Kadhum et al. 2012). The Eg value of Theobromine obtained is less than the theoretical values reported in literature (Bilkan 2018) which may be due to difference in basis set. The Eg values obtained at the B3LYP level for both molecules are smaller than those obtained at the RHF and wB97XD. The B3LYP functional has proven to give outstanding results for electronic structure calculation (Jamal et al. 2014; Reshak 2014a, b, c; Reshak and Auluck 2017; Ejuh et al. 2018a, b; Tadjouteu Assatse et al. 2019a; Veved et al. 2019; Fonkem et al. 2019, 2020; Yossa Kamsi et al. 2019; Veved et al. 2020). Equally, the large energy gap of the molecules tell us that there are many hydrophilic interactions that could facilitate the binding with the receptors. This suggests that such hydrophilic interactions considerably impact the binding affinity of these drugs to the receptors. The frontier molecular orbital of the molecules permit us to determine the chemical hardness \(\omega = \frac{1}{2}(E_{LUMO} - E_{HOMO} ).\) The small values of \(\omega\) obtained from our results is an indication that the molecules are less stable since hardness is a measure of the stabilization energy. The values of \(\omega\) correlate to the small Eg values which correspond to easy deformation of the electron clouds of Theophylline and Theobromine making them very reactive. Results show that Theobromine is more reactive than Theophylline. From the Eg and \(\omega\) values obtained from our results, we can again say that the methylxanthine molecules Theophylline and Theobromine may easily react with other molecules and the enzymes produce by the Corona virus since the molecules are electron-pair donors, even though Theophylline is a proton donor in most pharmaceutical systems (Beale 2011). Hence, we are tempted to say that Theophylline and Theobromine may be used as potential candidates for the treatment of COVID-19 which is a major concern of the WHO and whole World at large. The Kohn–Sham HOMO–LUMO gap \(E_{g}^{KS}\) was determined from the occupied eigen values and the virtual eigen values given in the Gaussian output file. We observed that the \(E_{g}^{KS}\) value for Theobromine was the same as the Eg.

Fig. 2
figure 2

a HOMO–LUMO Molecular orbital diagram of Theophylline. b HOMO–LUMO Molecular orbital diagram of Theobromine

The electronic chemical potential \(\vartheta\) was determined from the expression \(\vartheta = \frac{1}{2}(E_{LUMO} + E_{HOMO} ).\) It describes the tendency of electrons to escape from a system in equilibrium. The larger the \(\vartheta\) value, the less stable or more reactive is the molecule. Hence, the molecule Theobromine is more reactive than Theophylline. The electrophilicity index \(\delta\) was calculated by combining the chemical hardness with the electronic chemical potential given by \(\delta = \frac{{\vartheta^{2} }}{2\omega }\). It measures the second-order energy of an electrophile when it gets saturated with electrons. It is a measure of the electrophilic power, just as in classical electrostatics, \(power = \frac{{V^{2} }}{R}\), \(\vartheta \;and\;\omega\) serves the purpose of the potential and resistance R respectively. It correlates more with the electron affinity than with the electronegativity (Giju et al. 2005). From our results, Theobromine is a stronger electrophile than Theophylline which is in line with (Beale 2011).

The chemical softness which is inversely proportional to the chemical hardness of the molecules were equally determined. It is proportional to the magnitude of the electrical conductivity. Implies the large values of the softness of the molecules permit us to say that these molecules have high electrical conductivity. Hence, Theophylline and Theobromine can also be consider to have application in photovoltaic and electronic devices due to the large value of their chemical softness and small HOMO–LUMO band gap. The work function of each molecule was also determined from the Fermi energy EF \(E_{F} = E_{HOMO} + \frac{{E_{g} }}{2}.\).

From the values of the partition coefficients logP of the molecules documented in literature (Stanchev et al. 2013; Bilkan 2018), it is clear that the molecules are highly lipophilic. The parameter evaluated in our studies such as Eg, \(\mu ,\;\,\alpha ,\;\beta ,\;\gamma ,\;\delta ,\;\;\vartheta ,\;\omega ,\;\varsigma \;{\text{and}}\;\phi\) are very useful and can be used to evaluate the chemical properties and possibilities for the interaction of Theophylline and Theobromine with biological molecules (enzymes and receptor) and their transport through the blood brain barrier and cell membranes. All of these parameters can be used as basis to study the QSAR of these molecule since they are closely related to pharmacokinetics and pharmacodynamics (Stanchev et al. 2013; Salihovic et al. 2014). The values of IP, AE and the Eg (3.50–4.20 eV) of the molecules at the B3LYP level can be used to measure the redox potential of the molecules which is necessary for metabolism. The Eg values at the B3LYP level are smaller while the values of \(\mu ,\;\delta \;\vartheta \;and\;\omega\) are higher compared to the RHF and wB97XD values, and those reported in literature (Stanchev et al. 2013). This may be due to the used of polarized and diffuse basis sets as well as introduction of electron correlation contributions at the B3LYP level.

3.4 Optoelectronic properties

Optoelectronic properties such as: the average field (E); the polarization density (P); electric susceptibility (χ), the dielectric constant (εr), the displacement vector (D) and the refractive index (ɳ) are shown in Table 4. From our results, the value of the electric field E is of the order of 106 with the RHF method giving the largest value for molecule. The values of the electric susceptibility, dielectric constant, displacement vector and the refractive index obtained with wB97XD and B3LYP functional are slightly different and are greater than their corresponding values obtained with the RHF method with those of the B3LYP greater than those of wB97XD for Theobromine. For Theophylline, the value of the electric susceptibility, dielectric constant, displacement vector and the refractive index are higher at the RHF level compared to their corresponding values obtained with wB97XD and B3LYP functional, with wB97XD giving the smallest values. The differences between these parameters may certainly be due to the correlation effect of the electrons and the position of the methyl group in the molecules. These values were calculated using formulae given in literature (Ejuh et al. 2018a, b; Tadjouteu Assatse et al. 2019b; Veved et al. 2019; Fonkem et al. 2019, 2020; Yossa Kamsi et al. 2019; Veved et al. 2020). The large values of the average electric field, the electric susceptibility, refractive index and the small value of the dielectric constant of the molecules Theophylline and Theobromine permit us to say that these molecules have potential applications in the development of optoelectronic devices which is in line with the reference (Livshits et al. 2014).

Table 4 Volume V (m3), average electric field E (V m−1), polarization density P (Cm−2), electric susceptibility χ, dielectric constant ε (C2N−1m−2), displacement vector D (C2m2J−2) and refractive index η

3.5 Thermochemical properties

The zero-point vibrational energy, total electronic energy Etot, the sum of electronic energy with zero-point correction E0, thermal energy correction, enthalpy energy correction, the thermal free energy, the thermal energy, entropy and the heat capacity have also been calculated, and the results are shown in Table 5. The values of the energies obtained with the B3LYP are slightly higher than those obtained with the wB97XD and those obtained with the wB97XD are slightly higher than those obtained with the RHF except for the ZPVE and the entropy where the reverse is observed. The observed differences is certainly due to the effect of correlation of the electrons. The values of the Etot are slightly greater than those given in literature (Salihovic et al. 2014; Bilkan 2018) for both Theophylline and Theobromine. The Etot values of the molecules are approximately the same for same level of theory. This can be explained by the fact that the molecules have the same chemical formula but differ in their structural formulae due to the position of the CH3 group. The value of the ZPVE of Theobromine was higher than that given in literature while the values of heat capacity and the other energies were smaller (Bilkan 2018).

Table 5 The total electronic energy Etol, Sum of electronic with the zero-point energy correction (E0), thermal energy correction (E1), enthalpy correction (E2), free thermal energy (E3), are a.u., heat capacity (Cv), entropy (S) and Zero-point vibrational energy (ZPVE) are calmol−1K−1

3.6 IR and Raman spectra

The infrared and Raman spectra of Theophylline are given in Fig. 3a, b respectively while that of Theobromine are given in Fig. 4a, b respectively. Figures 3 and 4 show that the frequencies calculated at the RHF level are higher than those calculated at the wB97XD and B3LYP level. This may be due to the effect of electron correlation which is taken into consideration at the level of wB97XD and B3LYP functional. The IR and Raman spectra obtained are within the same range as that reported in literature for Theophylline (Nolasco et al. 2006; Balbuena et al. 2008; Gobbre et al. 2010; Tewari et al. 2012; Camiruaga et al. 2019) and Theobromine (Gunasekaran et al. 2004; Edwards et al. 2005; Nolasco et al. 2006; Ucun et al. 2007; Gobbre et al. 2010; Tewari et al. 2012; Bilkan 2017, 2018; Camiruaga et al. 2019) with the wB97XD and B3LYP closer to the experimental results. From our results, we observed that vibrational frequencies of some of the picks are slightly different from those reported in literature. This is due to the fact that our spectra were drawn from the vibrational frequencies data obtained from the output files which were not scaled (by 0.9668 for the 6-311++G** basis set) so as to correct the differences between the calculated and experimental frequency values (Ejuh et al. 2011; Yurdakul and Bilkan 2015).

Fig. 3
figure 3

a RHF, wB97XD and B3LYP IR Spectrum of Theophylline. b RHF, wB97XD and B3LYP Raman spectra of Theophylline

Fig. 4
figure 4

a RHF, wB97XD and B3LYP IR Spectrum of Theophylline. b RHF, wB97XD and B3LYP Raman spectra of Theobromine

4 Conclusion

From our results, the Eg, MR,\(\mu ,\;\, < \alpha > ,\;\beta_{mol} ,\;\gamma ,\;\delta ,\;\;\vartheta ,\;\omega ,\;\varsigma \;{\text{and}}\;\phi\) values obtained show that the methylxanthines Theophylline and Theobromine may easily react with other molecules and the enzymes produce by the Corona virus since the molecules are electron-pair donors, even though Theophylline is a proton donor in most pharmaceutical systems. Also from our results and from literature, we suggest that Theophylline and Theobromine may be consider as candidates for the treatment of COVID-19 which is in line with CNN report of 23 March 2020. Hence, we are proposing that trails should be carry out on the synthesis of Theophylline, Theobromine and other Xanthine derivatives to confirm if actually they may be used as potential candidates for the treatment of COVID-19 which is a major concern of the WHO and the whole World at large.

Equally, the large values of the average electric field, the electric susceptibility, refractive index and the small value of the dielectric constant of the molecules Theophylline and Theobromine permit us to say that these molecules have potential applications in the development of optoelectronic devices which is in line with literature report.

Moreover, the values of the \(\beta_{mol}\) and \(\gamma\) of Theophylline and Theobromine is associated with the intramolecular charge transfer resulting from the electronic cloud movement through the pi—conjugate from the electron donor to the electron acceptors which may result in linear and nonlinear optical activities. Hence, the molecules may equally have applications in linear and nonlinear optical active devices, photonic devices and in molecular electronics.

Furthermore, the large values of the second-order molecular hyperpolarizability show that the molecules may have second harmonic generation, optical rectification, electro-pockel effect, electric induced second harmonic generation and the electro-optic Kerr effect.