2D vector based graphics are drawn with bezier curves. Because these graphics are more or less mathematical functions they are lossless scalable.
2D pixel based graphics are not
There are also 2D graphics that are both. Todays computers are capable of huge pixel resolutions. …