There are two main types of computer graphics - raster images composed of pixels and vector images composed of paths. Raster images are better known as bitmaps and use a grid of pixels that can be different colors, while vector images use mathematical relationships between points and paths to describe an image. Bitmaps are best for photos while vectors are better for things like illustrations and layouts due to remaining smooth at any size.