Theory of Mind is the important stage in psychosocial developmemt in which one recognizes that other people have complex thoughts and mental states.
The next stage is when one discovers that other people can even imagine objects and interact with them convincingly. This is known as Theory of Mime