ECS is the “Elastic Container Service”. It gives you a managed set of tools to run Docker containers over AWS maintained compute resources. That’s a mouthful!
But concretely what ECS lets you do is define that you want to run an arbitrary number of containers with a set of defined memory/compute resources and let AWS handle provisioning the underlying hardware (well VMs in this case) to make it happen.