Infrastructure as Code can help in CICD pipelines by enabling the creation and destruction of target environments for testing, managing and controlling changes within those environments, and ensuring reliable and fast deployments.