And that is an area that is going to be hit hard by leaving the EU.
A lot of the best scientific institutions in the country either rely directly on being in the EU (funding for research coming from EU grants after proposals from here), or indirectly because of things like the ease of working with other research bases on the continent thanks to the ease of movement and shared regulations.
It's these sorts of groups that have brought a lot of the high tech, high income "idea" factories by creating stuff then licencing it out and starting on new stuff.
And because they're getting money they can afford to employ more people both for the higher paid jobs (and putting it back into research), and the service side of things.
We can't compete on manufacturing lower tech/bulk stuff due to wages and things like actual environmental and safety laws (the sort of working conditions common in some countries were banned here in the late 1900's), but we are a world leader in actual research, development and specialist technologies*, something that is now at serious risk.
*From memory despite our lack of a space programme as such, we have some very highly regarded companies that make satellites and specialist bits for various space agencies