If a world has an atmosphere, does the whole thing need to be coated in one or can parts have some and other not have it?

If a world has an atmosphere, does the whole thing need to be coated in one or can parts have some and other not have it?
Post Opinion