What is a magnetosphere?

a. the layer of a planet in which its magnetic field is generated

b. a region of space around a planet in which the planet's magnetic field can trap charged particles

c. the uppermost layer of any planetary atmosphere

d. the region in a planet's atmosphere where aurorae occur?