This common ancestor was a reptile that lived during the Carboniferous Period. Over millions of years, the lineage leading to birds evolved feathers, wings, and flight, while the lineage leading to humans evolved hair, mammary glands, and a larger brain.
While it might seem surprising that birds and humans are so closely related, it highlights the amazing diversity of life that has evolved from a single common ancestor.