A spacer is generally something used to create a space between two objects, often to properly position them.
There are also a number of specialised usages for the term.