What is Bar coding? The bar code is a set of parallel vertical lines like bars and spaces is learned…