This is called a bovine fistula, and is literally a hole that runs from the side of a cow to its stomach. They are used to collect helpful bacteria from healthy cows and give them to sick cows. When not in use, the holes are plugged to keep the inside of the cow safe from the outside world.