Fields are custom data that can be attached to Drupal entities.
Fields are custom data that can be attached to Drupal entities.
Drupal 7 provides an API that takes care of storing, loading, editing, and rendering field data. Any entity type (node, user, etc.) can use the Field API to make itself "fieldable" and thus allow fields to be attached to it. Other modules can provide a user interface for managing custom fields via a web browser as well as a wide and flexible variety of data type, form element, and display format capabilities.
In Drupal 6, most of the field functionalities are provided by CCK.
Use drupal-field-api for questions about the Drupal 7 field API, how to use it, and which hooks need to be implemented from modules defining new fields.