difference between apoptosis and necrosis

What is the difference between apoptosis and necrosis?