AnthonyG said..pweedas said.. I can't tell from pic because there is no size reference.
Approx size of individual part is 90mm x 25mm (see circled pic)

So that would make it a cluster of D size batteries.
So my guess is it was a box of D size batteries for a torch or something similar.
Probably it was a box of new ones which got forgotten, or sometimes people saved up old ones, because those old type regenerated a bit if you left them for a few days. Then you forgot about them and discovered a year later, they had leaked everywhere and threw out the whole box.
The same structure went right up to the old 1.5 volt PMG sized battery, about 3 inch diameter and 9 inches high, which were originally used for telephones but then went into wide use to power the filament circuit in old valve type portable radios in the 1930's to the late 1950's. They were made obsolete by transistor radios and so after that were used for glow plug power supply for starting model aircraft engines. Even that use was made obsolete by the small ni-mh batteries, so I don't know if they are even made any more.