The sun breaks through the trees as a child rides a swing.
A child rides a swing in the daytime.
Only during daytime the sun breaks through the trees
Sun breaks through the trees implies daytime.
If it is daytime, then the sun is in the sky.