Kotlin when | How when statement works in Kotlin with examples?

Kotlin when | How when statement works in Kotlin with examples?