This is a gyroscope. It's simply just a wheel that spins really fast making it balance as if its defying gravity! Because its spinning it is able to hold itself up on any surface. If you spin a Gryoscope in space it will stay in whatever tilt you give it and will forever spin until the end of the universe as long as it doesn't have friction and isn't impacted by anything! Have a great Day!!!