CI is about the automation of testing code changes before they are merged into the main branch of development. CD is about deploying changes automatically in a live environment.
The first one just delivers the packages, but the deployment is triggered by human.