When buying goods in bulk, purchasing by sample allows the buyer to inspect a small portion or representation of the product before placing a large order, ensuring quality.