Why can’t you fly a plane to space? Turns out, you couldn’t even make it halfway.
Part of the problem is Earth’s gravity. You need to escape it in order to reach space.
This requires a minimum speed of mach 33 (25,000 mph). The current world record for fastest plane is only mach 6.7 (5,140 mph). The other problem is the atmosphere.