Most tar is produced from coal as a byproduct of coke production , but it can also be produced from petroleum , peat or wood .
Coal tar is produced from coal as a byproduct of coke production .