In the 19th century the hat industry used molten lead to shape hats. The workers in those jobs breathed that lead daily. The result was the destruction of brain cells, hence the term "mad hatter."