The breather tube is where the moisture exits the engine when up to temperature (see other posts). It also vents any excess crankcase pressure to the outside world.
It's connected to the airbox cos the government said we must recycle oil and gasses. Removing the tube won't affect performance, but you may get the odd speck of oil on the engine (depends on the state of your rings and bores).