A worldwide community photographing and learning about wildlife
Psocodea
Raksha, many true bug nymphs live in colonies for several molt cycles so maybe they are Hemiptera. Also, earlier today while I was trying to figure out a bug I'd found I came across a group in the Hemiptera that look similar to ants (which yours remind me of). These were north American species but I don't doubt that there are ones like them in India. Of course, I might be a way of but its probably worth a look.
I have a somewhat similar spotting...unfortunately no ID as yet.
https://www.projectnoah.org/spottings/14...
Gary17 am not sure what they are, it looked like they were feeding on the wood and they moved as a colony.