why is the smallest unit in kubernetes is pods? but not container as that in docker.

Also, more information can be found here: https://kubernetes.io/docs/concepts/workloads/pods/pod/

I believe this is to enable you to easily create an environment of  multiple Docker containers , consistently. This is because normally it is considerd a bad practice to have lots of processes running inside a single container.