Can i know why this happen during animating and how to solve it?
That part of the mesh isn't affected by bone movement coz it might have been missed in the vertex painting. select the bone which caused it and edit the weight paint. add some to weight to the mesh. It should get back together.