I'm having trouble understanding the concept of "bottled in bond". Some definitions seem to reflect that it refers to an unblended whiskey being barrel aged for 4 years, others have to do with a regulatory procedure dealing with an "excise tax" - where the whiskey is allowed to be bottled without the tax being paid until it is moved from a 'bonded' warehouse.

Can anyone clear this up?