When a person experiences a Fantasy, they are dreaming in the day time, and seeing what is happening in their mind's eye.
While a fantasy is may indeed be like a daydream, that type of fantasy does not refer to the literary genre of fantasy.