Lost on AWS containers.

I'm lost on the topic called (Containers). From what I'm reading it is a group of code packaged together. Then Docker Containers it seems is a group of packaged Containers. After that, I read about Amazon Elastic Container which is "a fully-managed Docker container", that can help deploy docker images. I need help.