I don't know why should we need coalgebra?What is the motivation?By changing all the arrows of algebra structure, it seems strange.What is the application of coalgebra? What is the relation with Lie algebra, representation theory, derived category? I am very confused about this definition.
Thank you.
Though there are many reasons why one could be interested in coalgebras, many researchers are interested in bialgebras (or Hopf algebras). Before you can understand these, a basic understanding of coalgebras is very advisable.
Let's consider some natural examples first.
We can repeat te same story for Lie algebras.
After understanding these examples, you will quickly realize that a bialgebra $B$ yields a monoidal structure on its representation category. The converse is true as well to some extent (see the Tannaka reconstruction for more details).
As representation categories and monoidal structures have proven to be fundamental in many branches of physics and mathematics, I'd argue that these are strong reasons to be interested in coalgebras and bialgebras.