Geneologist

What is the difference between a genealogist and a gynecologist? One looks up the family tree and the other looks up the family bush.