A sheep gazing intently through a stable fence as another looks back.
a sheep behind a fence looking at the camera 
A pen of sheep in fenced-in area peering out through the slats.
Sheep inside an enclosed area looking at the camera.
The cows are inside of the stalls in the barn.