The sacrament of holy communion was established by our Lord Jesus Christ Himself on Maundy Thursday, at the Last Supper, the day before His death.
Having broken the bread, He gave it to His disciples, saying: “Take, eat: this is My body, which was broken for you. Do this in remembrance of Me." Then Christ took a cup of red wine and, having given praise to God, gave it to the disciples, saying: “Drink of it, all of you: for this is My blood of the new testament, which is shed for many for the remission of sins. Do this, as often as you drink, in remembrance of Me.” (Matt. 26:26-28; Mark 14:22-24; Luke 22:17,19-20; 1 Cor. 11:23-25).
Having communed the Apostles with body and blood, the Lord commanded them that, following His example, they should perform this sacred act, in His remembrance, until the end of the ages, with the hope that they, by partaking of His most holy body and blood, would be worthy to be partakers of His heavenly kingdom, according to His immutable promise: “He who eats My body and drinks My blood abides in Me, and I in him.” (John 6:56).
The apostles, holyly fulfilling the commandment of their Teacher and Lord, spent time in their meetings in prayers, singing sacred songs and breaking bread - in remembrance of Jesus Christ, that is, they performed the liturgy.
Even in the time of the Apostles, a rite (order) of prayers and liturgical rites was established and preserved among Christians. In the 4th century (after the Nativity of Christ), the service of the liturgy was recorded by Saint Basil the Great, Archbishop of Caesarea in Cappadocia, as it was performed in his time. This liturgy was further shortened by Saint John Chrysostom, Archbishop of Constantinople. This is how two orders of liturgy were formed: St. John Chrysostom and St. Basil the Great, almost completely similar to each other.