The rays of the sun will go directly to the trees, then trees take up light that absorbs light energy which converting light to chemical potential energy kept in chemical bonds. And when the trees cut into woods and burnt it, it will convert to thermal energy.