ECS offers to launch docker images on AWS via managing an EC2 instance. This means bundling the application to run seamlessly in every possible environment.
To store docker images AWS has an Elastic Container Registry(ECR) which is kept private.
To overcome the burden of managing the EC2 instance, AWS introduced a serverless architecture service called Fargate to launch docker images. This streamlines the application to run in different environments. No servers are to be handled on the client side, AWS manages all the deployments of containers.
Here is an overview to differentiate between ECS and Fargate