If the wings of an aircraft are straight, they will produce more resistance to the air, which will be unfavorable for the flight of the aircraft.
Hence, the wings of some aircrafts are fixed in a particular angle or swept back, instead of being made straight to minimize the air resistance during the flight.
Here’s a video explaining why the wings of aircrafts are swept backwards:





