In general, you are well advised to know at least two different software tools, one for vector graphics and one for raster graphics. The raster graphics (lower part of the image) is representing an image as grid of pixels or points of color and thus the initially set resolution is fixed, resulting invariably in quality loss of the image while scaling.
This enables to scale arbitrarily images without any loss of resolution. Each path may be assigned a stroke color, thickness, fill and further visual effects. The vector graphics (upper part of the image) is based on the idea that every graphical element – line, curve, shape, polygon – can be represented as vectors (also called paths), which are going through anchor points or nodes.