Can someone help me what is this?
It's a tapped inductor (autotransformer), used as part of a switchmode power converter. Inside, it has a ferrite core shaped like a bobbin with some wire wrapped around it, and then the whole thing was covered with heat-shrink tubing.