That funny loop is a meter "horn"... There is a section op pipe there that can come out and a water meter installed in its place.

A.D