Aren't Belgium and Scotland both in the EU?

I thought a central aspect was having free trade within it.