What is soft and hard fork

What is soft and hard fork?