Name of mental illness when imagining pain?

Yes, I just posted a question like this. But I thought about how it would make sense if I was imagining all this pain. But I just don't know the name of it? Is this a real mental illness? Like, when someone thinks they really have pains but they're just imagining it?
 
Back
Top