Do worms cause pain in cats?

My research indicates that worms do not cause direct pain in cats. They’ll cause discomfort through weakness and general illhealth.