Adenosine 5 ' -triphosphate (ATP) and Guanine 5 ' -triphosphate (GTP), which are highly significant species for biological system as sources of energy, along with two other compounds, ribose 5 ' -triphosphate (RTP) and triposphate (TP), have been investigated theoretically. The capability of releasing terminal phosphoric acid and existent intramolecular bonds in their structure have been studied in gas phase. Due to the presence of hydrogen bonds in the above molecules, several inner and stable rings have been formed by atoms in molecules. The Quantum Theory of Atoms in Molecules (QTAIM) has been used in order to discover the intramolecular interactions properties in terms of charge densities. We have also demonstrated that the release of terminal phosphoric acid in ATP and GTP are both facilitated in the presence of ribose and base in comparison with TP and RTP. Our calculations have been done using density functional procedure.