What are the advantages of self-pollination and cross-pollination?

What are the advantages of self-pollination and cross-pollination?