Native to South America, the capybara inhabits savannas and dense forests and lives near bodies of water.