Complex sentence: Traditionally, it referred to a shop where spirits were sold by the dram, a small unit of liquid.
Split into simpler sentences: Traditionally, it referred to a shop where spirits were sold by the dram. A dram is a small unit of liquid.