Decorator Pattern in Spring Boot with Kotlin

Why use the Decorator pattern?