Terraform manages infrastructure by comparing the desired state with the current state of resources.Variables in Terraform allow you to parameterize configurations.Terraform can read values from environment variables.Terraform supports various data types and conditional expressions.