"val" and "var" are both used to declare variables, but they have different meanings and usage.
"val" is short for "value"
val name = "John" //name = "Alice" <- error
"var" is short for "variables"
var age = 35 age = 20