The magnetic quantum number describes the orientation of an orbital in space, while the spin quantum number describes the spin of an electron around its axis. The magnetic quantum number can have values ranging from -l to l, while the spin quantum number can have values of +1/2 or -1/2.