The capybara (Hydrochoerus hydrochaeris) is the largest rodent in the world, followed by the beaver, porcupine, and mara. Its closest relatives are guinea pigs and rock cavies, and it is more distantly related to the agouti, chinchillas, and the coypu. Native to South America, the capybara inhabits savannas and dense forests and lives near bodies of water. It is a highly social species and can be found in groups as large as 100 individuals, but usually lives in groups of 10–20 individuals. The capybara is not a threatened species, though it is hunted for its meat and hide and also for a grease from its thick fatty skin which is used in the pharmaceutical trade.