A device that measures the amount of oxygen in the peripheral blood when placed on the patient's fingertip or earlobe is called:

a) Spirometer
b) Pulse oximeter
c) Electrocardiogram (ECG)
d) Ventilator