Solar flares represent the release of stored magnetic energy through magnetic reconnection. Large numbers of high-energy ions and electrons are produced in flares. We present models showing howenergy may be released by reconnection during the nonlinear phase of kink instability in twisted coronal loops. The strong electric fields associated with this reconnection can accelerate charged particles. We also show how particles may be accelerated at 3D magnetic null points.