Why Has Israel Got an Arsenal of Nuclear Weapons?

It is far from inconceivable that Israel would employ its nuclear arsenal. After all, for what other reason does it have ninety nuclear weapons?