Elephants have evolved over millions of years from small forest-dwelling animals to the large land mammals we know today. Early elephant ancestors were about the size of a dog and lived in forests in Africa and Asia as far back as 60 million years ago. Over generations, natural selection led to elephants growing larger in size to survive in more open grassland habitats, developing trunks and tusks, and living in herds for protection and survival.