They are for looks. That black rot is probably rotten wet core and may require a more rigorous fix!