Which best describes the energy change that takes place during deposition?

Heat energy is released by the substance.
Heat energy is maintained by the substance.
Heat energy is slowly gained by the substance.
Heat energy is quickly absorbed by the substance.