What is 'trancing' and why does it make my dog act so weird around plants?

Some dogs are secret ghost-walkers.