Decorators are functions that modify the behavior of other functions or methods, often used for adding functionality like logging or access control.