When you agree to it, you are entering into a contract with that company. In exchange for agreeing to their terms, you get access to their services.