Lawful basis is the reason processing is permitted

Under UK data protection law you need a reason to use personal data at all, chosen from a defined list, and you have to decide which one before you start.

There are six. Consent is one of them. The others include performing a contract, complying with a legal obligation and legitimate interests. Picking the right one matters because each carries different obligations and different rights for the person, and you cannot quietly switch later because the first choice became inconvenient.

More on UK GDPR