We learn in the Prologue to Romeo and Juliet, delivered by the Chorus, that the love affair that blossoms between the title characters will not end happily for them:
A pair of star-cross'd lovers take their life;
Whose misadventure's piteous overthrows
Doth, with their death, bury their parents’ strife.
"Star-cross'd" here means something more than "unlucky." It basically means that Romeo and Juliet are doomed to die by fate. So their destiny is to meet, to fall in love, and to die as a result of their love. At the same time, their deaths will "bury their parents' strife." In other words, the feuding Capulets and Montagues will be reconciled by their grief. It took the deaths of these two young lovers to make them realize how destructive their mutual hatred really was.
Some might think that discovering that the two lovers are destined to die in the Prologue lessens the suspense of the play. But it also creates a sense of dramatic irony that is absolutely heartbreaking. Romeo and Juliet's love is tender, genuine, and eloquently expressed, and knowing that it is doomed makes their declarations of love and of hope all the more poignant. We know that they cannot escape their destiny, yet we find ourselves rooting for them until they meet their tragic end together.