What am I?

Taken from a mine and then locked up in a wooden case. I am used by students everyday.