The Gospel of John tells us that Mary his mother and her sister as well as Mary the wife of Clopas, Mary Magdalene and his beloved disciple, were all at within sight of the cross, as Jesus breathed his last. What a trauma this must have been for those who loved him so deeply.
But with an eye to the future, Jesus put Mary into the care of the beloved disciple. In bereavement life has to go on. Mary and the disciple who tradition usually identifies as John, stay together and console each other.
Source: Jesuitsin Britain