The milking machine performs two basic functions. It opens the streak canal through the use of a partial vacuum, allowing the milk to flow out of the teat cistern through a line to a receiving container. It massages the teat, which prevents congestion of blood and lymph in the teat.