A trap primer line is typically connected to the domestic cold water line, not the DWV system. Its purpose is to prevent evaporation of water in floor drains or traps by periodically supplying small amounts of water. In some cases, local plumbing codes may dictate specific requirements for trap primers.