This chapter1 sketches some of the mathematical surroundings of modal logic. First, we discuss the algebraic perspective on the field, showing how the theory of universal algebra, and more specifically, that of Boolean algebras with operators, can be used to prove significant results in modal logic. In the second and last part of the chapter we describe how modal logic, and its model theory, provides many natural manifestations of the more general theory of universal coalgebra.