If that is a piece of a dock it is likely pressure treated lumber, which may contain copper arsenate or something similar. This is a poison that keeps fungi and insects from devouring the dock, and it will likely be very harmful or fatal to your fish in an aquarium. I would stick with natural roots and logs, etc, unless you know for sure it is not PT lumber!