As the other poster told you, it's a device for measuring airspeed. It works by measuring the difference between the stagnation pressure and the "flow" pressure. It's just a pointy tube with two tubes inside. One leads to a hole at the tip, pointing in the direction of flight (more or less) the other pointing perpendicular to that. Some have just the hole in the tip and they get their static pressue from elsewhere on the aircraft. In one case the airflow is stopped at the pressure device, that's the one that measures stagnation pressure, the other one has the air blowing across it rather than into it. That one is measuring the static pressure.
A real pitot tube. (With protective cover installed)
Another example:
Thanks for the mini pitot lesson and the visuals. There is always a Freeper or two that knows something about everything discussed or in the news. That’s another reason I love this place!!