In Inception, a totem is a personalized object with a unique physical property known only to its owner. Its specific purpose is to determine whether you're in your own dream or someone else's dream: if the totem behaves correctly according to its secret property, you're likely in your own dream (where your subconscious can recreate it accurately); if not, you're in another person's dream. This differs from simply distinguishing dream from reality.