tasks to pass small pieces of data to each other. Tasks are isolated, so XCom is mainly for sharing metadata like IDs, paths, counts, flags, or status. Many TaskFlow / operator return values are automatically stored as XComs under the default key return_value. XCom is not for large data such as files, logs, big JSON, or dataframes, because the default backend stores it in the Airflow metadata database. Takeaway: Use XCom for lightweight task coordination, not as a data transport layer.