The condition is "dissociation".
In psychology, dissociation is any of a wide range of encounters from gentle separation from prompt surroundings to more serious separation from physical and emotional experience. The significant attribute for every single dissociative phenomena includes a separation from reality, instead of lost reality as in psychosis. and daydreaming is the most common form of separation from reality.