Dell Technologies Interview Question

What is SHA256 and how does it differ from SHA512?