The content expressed in dreams is not directly related to reality.
But this is not irrelevant.
But there is an abnormal relationship.
The classic theological dream interpretation is Duke Zhou.
The classic work of scientific dream interpretation is Interpretation of Dreams.