1) CI and CD are practices followed in software development. CD abbreviates for Continuous Delivery while CI stands for Continuous Integration.
2) In CD, the software is built and delivered into production while in CI, different developers working on different modules upload the integrations on a daily basis. Ansible is the perfect tool for both CD and CI as it provides a stable infrastructure for setting the required environment and finally deploying the application.