The data subject's consent is one of the conditions processing operations can be based in order to be lawful.
The provisions concerning the conditions applicable to consent were further developed by the GDPR, emphasizing its "free, specific, informed and unambiguous" character. In other words, the data subject must have a genuine choice.
Furthermore, the data subject has the right to withdraw his consent at any time. The withdrawal of consent shall not affect the lawfulness of processing based on consent before its withdrawal.
What about the consent of children ?
If you collect data relating to children via your website (e.g. online game, social networks), the consent of the parents is required.
The information provided to the users must be easy to understand, using clear and plain language.