A hut (or small hut) was a shelter made of branches or stone that was built outdoors in mountainous areas as well as in groves, wastelands or pastures in the countryside, and was used by shepherds and farmers to spend the night with their flock or to protect themselves from inclement weather during farm work.