Decorators allow us to add behavior to objects in runtime and don’t affect other objects of the class. Decorators can be applied when you need to