Margin versus padding in CSS

In CSS, a margin is the space around an element’s border, while padding is the space between an element’s border and the element’s content.

I keep forgetting this and have to look it up time and time again.