Although most bugs are attracted to wood, cedar is not one of them. The reason for this is that cedar produces natural oils that repel bugs. This stops various insects from buzzing around your fence, and it also helps in extending the lifespan of your fence because you will not have to worry about any bugs making your fence their home.