The T-Maze is used largely in preference and spatial learning tasks. It is also used to investigate spatial learning and memory in rats and mice. Animals learn to alternate between arms based on their memory of the previously visited arms or choose an arm based on the reward presented. The simple capital T shape design incorporates a single choice point with only two alternatives.