how is it connected to john the baptist?
It is the fourth of the canonical gospels , compiled by John.
Gospel of John
The Gospel according to John (, also known as the Gospel of John, or simply John) is the fourth of the four canonical gospels.
how many chapters does the gospel of john have 21. what is its structure? It has four sections: A prologue, the "Book of Signs", the "book of glory", and a conclusion. The epilogue might not have been a part of the original text. is it reliable historically? According to historians it has some historical value.
wiki:7674454
Gospel of John [SEP] Introduction
The Gospel according to John (, also known as the Gospel of John, or simply John) is the fourth of the four canonical gospels. It contains a highly schematic account of the ministry of Jesus, with seven "signs" culminating in the raising of Lazarus (foreshadowing the resurrection of Jesus) and seven "I am" discourses culminating in Thomas's proclamation of the risen Jesus as "my Lord and my God"; the concluding verses set out its purpose, "that you may believe that Jesus is the Christ, the Son of God, and that believing you may have life in his name." John reached its final form around AD 90–110, although it contains signs of origins dating back to AD 70 and possibly even earlier.