Terraform outputs are used to export data about infrastructure resources, such as IP addresses and regions, which can be used for automation purposes or as a data source for another Terraform workspace. Outputs can also be used to connect Terraform configuration through modules or separate workspaces. Additionally, Terraform supports the sensitive flag, which redacts sensitive values in console output and log messages.