looks like a part for the crankcase breather or elbow from coolant system, but could be something else as well.
which car's it from, which engine, and maybe in situ photo (or photo where you removed it from) will help to find part...
btw - if it's OEM then it would have a part number on it.... if it does post it here!