Flight plans need to account for the curvature of the earth when they are created. Since the earth is three-dimensional, it would be impossible not to fly in an arc. Another reason that planes would choose to fly in a trajectory that resembles an arc is to account for the amount of traffic that will be in the air.