A barn is an agricultural building usually located on farms and used for various purposes. More often, they are used to house livestock, as well as equipment, fodder, and grain.
Here is an infographic from Viking Barns that provides everything you need to know about metal barns.
[Click here for full size version]