Who Wrote the Gospels?

The four writings of the New Testament called “The Gospels” are where we get the details of Christ’s life and teachings while He was on Earth, so their credibility is of great importance. In recent times, the authorship of these documents have come into question among some scholars, and critics of Christianity often use these ideas to speak against the truth of the Biblical teachings. So who did write the Gospels? Can we be confident that we have reliable testimony of the life of Jesus? How can do we respond when we are faced with the claims that Matthew, Mark, Luke and John did not write these foundational texts?