Pre and post surgical rehab. What is it and is it really important?

Pre and post surgical rehab. What is it and is it really important?