How do animals actually solve the T maze?

How do animals actually solve the T maze?