When you visit a website or use an online service and see a message saying "by using this service you agree with the terms of use and privacy policy," the purpose of the message is to inform you of the terms and conditions that apply to your use of the service. The message typically includes a link to the terms of use and privacy policy so that you can review them before deciding whether to proceed with using the service.
Having an "Agree" button is a way for the website or service to acknowledge that you have seen the message and had the opportunity to review the terms and conditions. However, simply clicking "Agree" does not necessarily mean that you are legally bound to the terms and conditions. In many cases, your continued use of the service after being informed of the terms and conditions is considered implied consent, meaning that you agree to abide by the terms and conditions by using the service.
In some cases, websites and online services may use more explicit methods to confirm your agreement to the terms and conditions, such as requiring you to check a box or electronically sign an agreement before you can use the service.
It's important to note that the specific legal implications of agreeing to terms and conditions can vary depending on the jurisdiction and the specific terms of the agreement. To understand your rights and obligations when using a particular website or service, it's always a good idea to consult with a legal professional.