Zacariah and his wife always wanted a child for themselves but could not because they did not get the chance to have one and now they are just too old to have one.
After the meeting with the angel
Since Zacariah was a priest he went to worship the Lord but then encountered an angel who says that God has promised him a son who he should name "John".
Zacariah could not believe the fact that he was going to have a son so he questioned the angel and then the angel becomes angry. So, he punishes him for questioning him and he shut his mouth so that he won't have the ability to talk.
The birth of John
After all that has happened, he goes outside and the people were wondering why he took so long but then they also realized that something was wrong, Zacariah could not speak.
Elizabeth was pregnant but John could still not talk, it was actually a miracle that Elizabeth was pregnant. One day she met with the virgin Mary and as soon as they did they're greetings the baby had jumped. Elizabeth knew Mary was special.
The day came when Elizabeth gave birth to John. All the family members gathered and thought that they were gonna name after his father, Zacariah. But Elizabeth stated that she would name him John. They kind of argued about the name until Zacariah suddenly opened his mouth and started to talk, he said that the boy's name is John.