Kubernetes is a container orchestrator. It runs your workloads across a cluster of nodes and keeps the desired state ("I want 3 replicas of this") matched to the actual state ("there are 3 replicas running").
You declare what you want via YAML manifests. The control plane reconciles reality to match.