Guinea pigs use their scent glands to mark their territories and communicate with other guinea pigs. Each animal stores its own unique scent, which is used to identify it when it's away from home. The scent of a guinea pig can also override the smell of other animals in its territory, helping to keep others away.