In Frege’s classic formulation of Sinn und Bedeutung, sense is the definition of a word’s meaning, which is decoupled from the denotation of a word—what it references in the world. The decoupling is necessary so that words can have distinct meanings even if they refer to the same thing, or to imaginary beings.
For more, see Nick Nicholas’ answer to What is the meaning of meaning, philosophically speaking?