Why is understanding shared ancestry important in tracing the history of different species?