Definition:
The purpose of the processing is the principal objective of the processing.
Data is collected for a well-defined and legitimate purpose and is not further processed in a way incompatible with that initial purpose. This purpose principle limits how the data controller may use or re-use the data in the future.
Consult our article on the purpose and means of determining it in our GDPR knowledge base.