Agile Infoways Interview Question

What is the difference between managed code and unmanaged code in .NET?