Hello there,
I hope I won't say something stupid but here I go:
This part of the cockpit is the projection part of the HUD. The glass in front of the pilot is just a glass, and in front of the glass, there is an horizontal lens. The tubs is for cable management