What is the meaning of Slate_pencil?

A pencil designed to be used on a writing slate.

A hard, grey coloured, aniseed flavoured, sugar-based confectionery in the shape of a rod or stick.

Source: wiktionary.org