How are evaporation and sublimation similar?

Both involve the formation of a gas.

Both take place at the surface of a liquid.

Both release energy to the surroundings.

Both take place throughout a solid.

Both processes involve the conversion of a substance from a solid or liquid state to a gas state without going through the intermediate liquid state.