SHA-256 is a cryptographic hash function that maps data of any length to a fixed 256-bit (32-byte) value. It belongs to the SHA-2 family, designed by the U.S. National Security Agency and published as a standard by NIST in 2001. A change of a single input bit produces a completely different output, and the function is designed so that recovering the input from the output, or finding two inputs with the same output, is computationally infeasible.
It is used wherever integrity or security must be verified: as a checksum for files and firmware images, in digital signatures and TLS certificates, in password storage, and in Bitcoin's proof-of-work.