A comprehensive investigation of the Galilean moon, Io, by tracing mass and energy flows