Though it is really Nezuko the one who woke up Tanjiro's subconsciousness, or rather his senses by bleeding out.
It was also pretty intriguing to see his father, I wonder if that is a manifestation of his consciousness or his spirit getting through Tanjiro. However, I think it gave us some closure to see him finally see his family again, apologize, and say goodbye. It was a pretty tear-jerking scene where he has to face his family and the realization that things cannot go back to how they were the acceptance of death and the knowledge that the sorrow will never really fade. Tanjiro finds himself back home with his family, however, the inkling that something is wrong continues to chase him throughout until he faces himself and realizes he is dreaming.
Anyway, our heroes have fallen into Enmu's trap and they are all deep in slumber living their biggest dreams while being oblivious to the danger they are in. Once the kids destroy it the person is set to be crippled and easy prey after. Apparently, there is an edge to the dreamscape, once that barrier is torn you can slip into the person's unconsciousness and there you will find their core. Enmu has tricked kids into doing his bidding and has set them out to enter their dreams and destroy their cores.