When executed, IaC tools interpret the code and automatically provision, configure, and manage the specified resources in the target environment. IaC can be used in both cloud and on-premises data centers. Crucially, IaC tools ensure idempotent execution, meaning that running the same infrastructure code multiple times results in the same desired state, promoting consistency and reliability.