What is that black goo found on railroad ties?

Creosote.