The bar code is made of vertical bars, some are thick, some are thin. The scanner can see these bars and the pattern of the bars tells them what the numbers are. The patterns are made in a way that the scanner can read it forwards or backwards, so it doesn't matter how the product is held, it can still read the number. The numbers are often also written underneath the bars, so that people can read the SKU. There are two parts to the number. The first part is who made the product, the second part is what the actual product is.