Explore the criteria that determine the lawfulness of processing personal data under the GDPR. Dive into various legal bases for processing, including consent, contract performance, legal obligations, vital interests, public tasks, legitimate interests, and explicit consent for special categories of data.