TIL that it is the female ginkgo trees that stink in the most inappropriate way, not the male ones. And that smell is from butyric acid that comes out of its false fruits when they fall off the tree and break apart on the ground.
Apparently the foul smell is thought to have evolved to attract dinosaurs!