nerve agents

Initial reports suggest that Kim Jong-Nam, the estranged half-brother of North Korean dictator Kim Jong-Un, was murdered with VX, a type of agent used in chemical warfare. What is it, and how does it work?