What is the purpose of dishwashing liquid?

What is the purpose of dishwashing liquid?