A barn is a large, usually rectangular building with a high, gabled roof and doors or sliding doors at the ends or sides, used for the storage, breeding, or feeding of livestock, grain, or hay. A shed is a small, usually single-story roofed structure, used for storage, hobbies, or as a workshop.