Scripture teaches the resurrection of the dead with strong words.
1 Corinthians 15:13 But if there be no resurrection of the dead, then is Christ not risen:
1 Corinthians 15:16 For if the dead rise not, then is not Christ raised:
Scripture also explains how the resurrection of the dead is possible.
1 Corinthians 15:36-37 Thou fool, that which thou sowest is not quickened, except it die: And that which thou sowest, thou sowest not that body that shall be, but bare grain, it may chance of wheat, or of some other grain:
We have these words of comfort.
1 Thessalonians 4:13-14 But I would not have you to be ignorant, brethren, concerning them which are asleep, that ye sorrow not, even as others which have no hope. For if we believe that Jesus died and rose again, even so them also which sleep in Jesus will God bring with him.