system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] Why do X-Wings even have hyperdrives?

X-Wings are equipped with hyperdrives, and yet they are supremely un-equipped for long trips.  Hyperspace travel isn't instantaneous, it can take days or longer (despite--and so sorry for breaking the fourth wall here, but can't help it--what Episode V would make you think).  The fighters are not equipped with any kind of systems for waste disposal, food, or water, beyond the emergency variety; as well, sitting in one spot for days, artificial gravity or not, is terrible for the body.  The only reason Luke Skywalker can do it is because he uses a Jedi trance to make it endurable.  So why even have this option available, since it would most likely be a death sentence for any normal pilot?
gpt
X-wings are medium range fighters meant to be able to execute missions independent of a mothership.

The hyperdrive allows them to jump in, commit an attack as a squadron with no other support and jump out. It's the perfect craft for a rebellion whose main strategic attacks will be hit-and-run raids against a superior enemy.

Most targets may be hours away, but usually not days. Humans are more than capable of sitting for a few hours' transit time to an area of operations, completing a stressful combat mission and retreating to a rebel base or ship.

For longer sorties, precautions can be taken to make the cockpit ride as comfortable as possible. But really all the pilot has to do is throw a few water packs and emergency rations into their gear bag, make sure an absorbent undergarment is included when they suit up, and they're set for a couple of days of space combat work.

And yes, it's bad for the body. But this is war, not asteroid mining. If you're not willing to endure some hardship, you'd be better off not putting on the orange flightsuit in the first place.