When you try to create an account, the last field you must fill in is called CAPTCHA. This field consists of some squiggly words or numbers and you're asked to type in what you see. The purpose of this is to ensure that an actual human is trying to register.
A computer trying to automatically sign up in order to spam the site users, can't actually interpret the squiggly words and so can't create an account.