Flexible Vent Connector

Hey Guys-

Is flexible metal approved for vent connectors? Seems like I read it was just for re-lining an old chimney. And what about the fact that it increases in size on the horizontal run? This was on a gas water heater.

Thanks…Kenny