The correct option is B sty
Animals which generally live with humans or in vicinity of humans and provide us milk, eggs, meat etc. are called domestic animals. They are kept in different types of shelters. The shelter of a pig is called a sty.
Other domestic animals like cow, dog and horse are kept in barn, kennel and stable respectively.