Which of the following best defines software in the context of computing?
A) The physical components of a computer system.
B) The set of instructions that control the operation of computer hardware.
C) The mathematical algorithms used to solve complex problems.
D) The electronic circuitry that processes data in binary form.