Who were the people who were resurrected before Christ and what happened to them?
Only Christ rose from the dead (through his own power). Perhaps you’re referring to Elias and Enoch, who were both “taken up” (assumed-by the power of God) into heaven (2 Kings 2:11, Genesis 5:24, Sirach 44:16).
“The possibility of a bodily assumption before the Second Coming is suggested by Matthew 27:52–53: “[T]he tombs also were opened, and many bodies of the saints who had fallen asleep were raised, and coming out of the tombs after his resurrection they went into the holy city and appeared to many.” Did all these Old Testament saints die and have to be buried all over again? There is no record of that, but it is recorded by early Church writers that they were assumed into heaven, or at least into that temporary state of rest and happiness often called “paradise,” where the righteous people from the Old Testament era waited until Christ’s resurrection (cf. Luke 16:22, 23:43; Heb. 11:1–40; 1 Pet. 4:6), after which they were brought into the eternal bliss of heaven.”
Full text is here.