Saint Anne and Joachim were the parents of Mary, the mother of Jesus, and therefore Jesus’ grandparents.
Saint Anne was the mother of Mary and grandmother of Jesus, according to tradition. New Testament apocrypha, of which the Gospel of James(written perhaps around 150) seems to be the earliest that mentions them. “Although the canonical books of the New Testament never mention the mother of the Virgin Mary, traditions about her family, childhood, education, and eventual betrothal to Joseph developed very early in the history of the Church,” says Wikipedia. “The oldest and most influential source for these is the apocryphal Gospel of James, first written in Greek around the middle of the second century.”
In that account, Joachim is described as a rich and pious man who regularly gave to the poor and to the synagogue. “Tradition has it that the parents of the Blessed Virgin, who, apparently, first lived in Galilee, came later on to settle in Jerusalem,” Wikipedia says. “However, the high priest rejected Joachim and his sacrifice, as their childlessness was interpreted as a sign of divine displeasure. Joachim consequently withdrew to the desert where he fasted and did penance for forty days. Angels then appeared to both Joachim and Anne to promise them a child. Joachim later returned to Jerusalem and embraced Anne at the city gate. There was ancient belief that a child born of an elderly mother who had given up hope of having offspring was destined for great things. Parallels occur in the Old Testament in the case of Hannah, mother of Samuel.”