A genealogist is a person (a researcher) who works out peoples family trees (their ancestry).
A genealogist is a person who studies a family's lineage and history, tracing their ancestors and descendants through various historical records like birth certificates, census data, and marriage records. Genealogists help individuals discover their family roots and understand their heritage.