What is inside magnets?

There is nothing inside magnets. The solid metal has magnetic properties due to it's molecular make up. Magnets are commonly made of iron, but there are more powerful magnets, made from alloys of rare earth metals.

The magnetic fiels surround the whole magnetic object.