Freud was inventing psychoanalysis bit by bit, layer upon layer. As he analyzed himself in solitude, searching for ways to explore the hidden recesses of his mind, he turned to dreams to help him.