Complex sentence: Both naphthalene and para-dichlorobenzene sublimate, meaning they evaporate from a solid state to a vapor; this vapor is toxic to the moths.
Split into simpler sentences: Both naphthalene and para-dichlorobenzene sublimate, meaning they go from a solid straight to a vapor. The vapor is toxic to the moths.