Fuel tank vent.

Others will chime in...

At some point canisters were added. the line in the engine compartment is a vapor return line.

You will have to determin where it goes now.

Some 70s tanks have multiple nipples on them.

The 60s tanks only had the vent on the filler neck, and it ends in the rear frame rail.

View attachment 1715941408
Ah. Well that line in the engine bay was attached to the sender.