SHA-256 is one of the successor hash functions to SHA-1 , and is one of the strongest hash functions available. SHA-256 is not much more complex to code than SHA-1, and has not yet been compromised in any way. The 256-bit key makes it a good partner-function for AES.
SHA-256 is a message-digest algorithm. It's used to compute a hash value in cryptography.