From YOUCAT, fact 141:
141: What is the Pope’s responsibility?
As successor of St. Peter and head of the college of bishops, the POPE is the source and guarantor of the CHURCH’s unity. He has the supreme pastoral authority and the final authority in doctrinal and disciplinary decisions. [880-882, 936-937]
Jesus gave Peter a unique position of preeminence among the apostles. This made him the supreme authority in the early Church. ROME – the local Church that Peter led and the place of his martyrdom – became after his death the internal reference point of the young Church. Every Christian community had to agree with Rome; that was the standard for the true, complete, and unadulterated apostolic faith. To this day every BISHOP has been, like Peter, the supreme shepherd of the Church, whose real Head is Christ. Only in this capacity is the Pope “Christ’s Vicar on earth.” As the highest pastoral and doctrinal authority, he watches over the transmission of the true faith. If need be, he must revoke commissions to teach doctrine or relieve ordained ministers of their office in cases of serious failures in matters of faith and morals. Unity in matters of faith and morals, which is guaranteed by the Church’s MAGISTERIUM, or teaching authority, with the Pope at the head, is one reason for the remarkable resilience and influence of the Catholic Church.