Depersonalisation is where you have the feeling of being outside yourself and observing your actions, feelings or thoughts from a distance.
Derealisation is where you feel the world around is unreal. People and things around you may seem “lifeless” or “foggy”.
You can have depersonalisation or derealisation, or both together. It may last only a few moments or come and go over many years.