Continuous integration (CI) is a software development practice in which developers regularly merge their code changes into a shared repository. Each merge triggers an automated build and tests, allowing teams to detect errors quickly and fix them before they cause major problems.