To the original poster,
I understand this is a beginner forum however this question is kind of silly. You need to do a little more research. Since, you specified that you are asking about how numbers are obtained online. Credit card info is taken in numerous ways from: card holders, (...