When I saw that picture the word gascolator popped into my mind. I had to google it but that's what it looks like. They act as a strainer and a sump for water to settle into. I think they are seen on airplanes more often than boats.
Go here and scroll down; Fuel System Components by Great Plains Aircraft Supply Co., Inc.