It's called intelligence and curiosity, attributes that are enabled by a complex brain that can think and reason.