a barn is used for keeping animals