Registering with an online gambling site requires you to give them some information before you start playing such as your name and where you live. They'll also ask you for a valid form of ID so they can verify that you're over the legal gambling age. If you play a lot on the site they may ask for proof of income which is required to show that you're not money laundering.