A Pod can hold several containers that share its network address and any volumes they both mount.
Init containers run one after another, each to completion, before the app starts: migrations, waiting for a dependency, fetching configuration. If one fails it is retried and the Pod shows Init:CrashLoopBackOff; while one runs the Pod shows Init:N/M.
Native sidecars are init containers with restartPolicy: Always. They start before the app, keep running beside it and stop after it, which suits log shippers and proxies that must be ready first. A plain second container also runs beside the app, but with no start order.
Containers never share their filesystems. To hand files from one to another, mount the same volume, usually an emptyDir, in both. And mind the Pod's own restartPolicy: a container whose command simply finishes is restarted forever under the default Always, so one-off Pods need Never or OnFailure.
A migration, then a native sidecar, then the app.