1) What the fook is Bitcoin mining???

2) is it illegal? And if not is it worth spending the cash on the extra bits to do it?