When a gerbil sniffs another gerbil's butt, it is able to learn about the other gerbil's sex, reproductive status, and social status. Gerbils also use scent marking to establish their territory and to communicate with other gerbils in their social group.
Butt sniffing is a normal and important behavior for gerbils. It is a way for them to communicate and stay connected with each other.