Pentecost is one of the three major Jewish festivals. It refers to the period 50 days after Passover. (Strictly speaking, the day after the first Sabbath following Passover is Firstfruits, the seven weeks including that Firstfruits is Feast of Weeks, and the 50th day after that is Pentecost.)
This was also the day Moses received the Law on Mount Sinai. After escaping Egypt during Passover, they arrived at Mount Sinai around this time.
So, Pentecost is the day of harvest and the day the Law was received.
This Pentecost transitioned into the New Testament as the Feast of the Coming of the Holy Spirit. Fifty days after Jesus, the Passover Lamb, was crucified, the Holy Spirit descended upon the disciples on Pentecost, and the church was born.