A comonad (or cotriple) on a category is a monad on its dual category . Similarly a comonad in a 2-category is a comonoid in the monoidal category for some object . Every additive comonad on an abelian category induces an augmented simplicial endofunctor on , what is the basis of comonadic homology?. Comodules (= coalgebras) over the comonad with underlying endofunctor in - for the extension of rings correspond to the descent data for that extension. Gluing of categories from localizations may also be formalized via comonads.
Distributive laws between a monad and a comonad are so-called mixed distributive laws; a special case has been rediscovered in physics under the name entwining structures (Brzeziński, Majid 1997). Their theory is often studied in the connection with the theory of comonads in the bicategory of rings, modules and morphisms of modules, that is corings. There is a homomorphism of bicategories from a bicategory of entwinings to a bicategory of corings (Škoda 2008), which is an analogue of the 2-functor (R. Street, Formal theory of monads, JPAA 1972) of strict 2-categories in the case of distributive laws of monads (recall also that a distributive law among monads corresponds to a monad in the 2-category of monads).