A constant is a name for a simple value, which will not change at the time of execution. The main advantages are ranges from setting configuration values to saving integer values to be checked as strings (like status codes). PHP provides functions for constant values, which make the usage more easier. These functions are important in Drupal too, since we may need those when working in Drupal projects.