There have been a number of experiments performed which have tried to see if worms can feel pain and the answer is yes. Even though their nervous systems are very different from ours, it does not mean that they do not suffer pain in the same way that humans do.