Terraform state file

It is Terraform's representation of the world. It is a JSON file containing information about every resource and data object.

Contain sensitive info (e.g. database password) - so the file should be protected.
Can be stored locally or remotely. With remote state, a feature called "locking" is offered.