Denial of service attacks work by flooding a website or service with requests to exhaust all the available resources. Since the servers are busy dealing with the huge flood of requests from the attacker, real users are unable to get access.