In Docker, a container is a lightweight, standalone, and executable package that includes everything needed to run a software application, including the code, runtime, libraries, and system tools.