Juliet drinks a sleeping potion to look like she is dead so that she can meet Romeo again. But, Romeo does not find out about her plan and believes she is dead.
Therefore, he drinks poison and dies. Upon waking up and seeing her beloved lifeless, Juliet plunges Romeo's sword into her own heart.