An externality can best be defined as

A) a party not directly involved in a transaction.
B) a consequence of a transaction that spills over to affect third parties.
C) a right of an owner to use and exchange property.
D) a cost associated with the production of one more unit of output.