Chronologically, it goes like this: big bang (creation of space and time) → data (randomly seeded laws of nature) → energy → matter → life → mind → realization (idea). Each successive stage then encapsulates all previous stages, i.e. there are no ideas without mind, no minds without living matter, etc. Take e.g. a stone, which is its own energy and data, that human mind renders into "stone-realizations."
See the following links for matter-energy-information equivalence.
https://www.nature.com/articles/nphys1821
https://aip.scitation.org/doi/10.1063/1.5123794
https://senderspike.medium.com/absolute-equivalence-b4584dc2e290
Ghosts can be then “data fields” bound to energy and maybe even physical biochemical interactions as is the case with e.g. psychotropic plants. And what you call emotions are just bodily sensations (feelings) translated by your mind into conceptual ideas. There is really nothing more to the world of phenomena – if you interact with it, it is “created” and the same rules apply universally. See the following links for a visual representation and more info.
https://senderspike.medium.com/circle-of-growth-fef31636e538
https://senderspike.medium.com/fractal-evolution-b0d66bacff40