Directi interview question

Difference between padding and margin?