IaC is a practice of using code to define and manage infrastructure resources, such as virtual machines, load balancers, and network devices, to automate deployment, configuration, and management.