1) What is Bin :
BIN - Bank identification Number, which specifies the bank, and in most cases its first 6 digits of your Credit/Debit Card.
2) How to make credit cards from BIN?
Well there are scripts to make cards which performs different algorithm just like Banks to get the correct number...
howtogeneratecreditcardhowto make creditcards from bin
what is carding bin