online credit card

I would like to know the exact process, as to what happns with my credit card number, after I use it online? Does a computer code it? Or is my number accessisble to others?