1997 ford ranger. What part is this?

Looks like some sort of filter. Truck still runs even though the hose is busted and It looks easy enough to replace if I knew what to buy.1997 ford ranger. What part is this - 1

Fuel filter

If its inline with fuel hosing, then the fuel filter

I'd make two observations from the photo. First if the truck runs with that cracked hose it isn't being used as a fuel filter even though that is what it appears to be. Second the hose fittings and position in relation to the engine don't indicate its fuel related either. No way of knowing for certain but the lines appear more like those used for vacuum or vapor control. If so, I can't think of any reason for its installation.