Likewise the Spirit also helps in our weaknesses. For we do not know what we should pray for as we ought, but the Spirit Himself makes intercession for us with groanings which cannot be uttered.
27 Now He who searches the hearts knows what the mind of the Spirit is, because he makes intercession for the saints according to the will of God. 28 And we know that all things work together for good to those who love God, to those who are the called according to His purpose.
The Greek word translated helps is used in Luke 10:40,where Martha wants Mary to come and help her. The word does not indicate that the Holy Spriit prays instead of us, but that the Holy Spirit takes part with us and makes our weak prayers effective. Some interpret the groaning as the uttered b the Holy spirit, since the text says that He uses these groaning to make intercession.Others see Paul referring to our "groanings" in prayer, since: 1) vs 23 says that "we ourselves groan"; 2) such "Groaning" which seem to imply a degree of distress or anguish, are appropriate to imply a degree of distress or anguish, are appropriate for creatures (vv. 22,23 but not for the Creator; 3) this sentence explains the sentence in v. 26, which says that the Spirit "helps" us, not that the Spirit Replaces our prayers.
Romans 8vs12 Therefore, brethren, we are debtors_not to the flesh, to live accofding to the flesh. For if you live according to the flesh you willl die; but if by the Spirit you put to death the deeds of the body, you will live.
For as many as are led by the spirit of God. These are sons of God.