How can I remove darkness from behind objects?
Your image alpha channel must be used for the mix factor between the transparent area and the color information (diffuse). So, just connect the Alpha output of the image node to the factor input of your Mix Shader node. This makes it so that only the parts of the image that are transparent are actually appear as transparent.

Just a proposal. Unfortunately we don't know you node tree for your tree planes.