Docker Compose uses the depends_on key to control the order in which services start. When you run docker-compose up, it first checks which services have no dependencies and starts them. Then it starts services that depend on those, ensuring the order is correct. For example, if a web service depends on a database service, docker-compose starts the database container first, then the web container. However, depends_on only waits for the container to start, not for the service inside to be fully ready. This means the web service might start before the database is fully ready to accept connections. The execution table shows each step: starting docker-compose, starting the db service, then starting the web service after confirming db is running. This helps beginners understand how service ordering works visually and step-by-step.