Ancestral genes are the original genes from which modern genes have evolved, playing a crucial role in understanding evolutionary biology and the genetic relationships between species. They provide insights into the functional and structural changes that have occurred over time, helping scientists trace the lineage and adaptation of organisms.