Railroad ties are typically pressure-treated and contain creosote, which helps prevent damage from insects. However, railroad ties will eventually break down. Nearby termites will feed on any rotting wood they find on the ground.