Why does Katniss have to go under the fence to hunt-hunger games?

She has to go under the fence and into the forest to hunt because it is illegal for people to hunt in the forests in Panem. The punishment is whipping and sometimes death. Katniss and her friend Gale are not charged because all of the officials in District Twelve buy their game.