
A figment of somebody’s imagination
Metaphorical Use
It's often used to describe ideas or beliefs not based in reality, emphasizing their lack of substance. 
Expressing Doubt
Use it to express skepticism about the reality or truth of something someone else mentions. 
Emotional Impact
When used, it can imply that someone's feelings or fears are not justified because they're based on fiction. 