It emerged from Judaism and was based on the teachings of Jesus.
The Law and the Prophets -- the holy books of Judaism -- became the Old Testament of the Christian faith. The New Testament was added to that, which described the life of Jesus (in the Gospels) and expounded on the teachings of Jesus (in the Epistles).