What does a lawyer does?

Lawyer is the person that perform various law practices in the court in order to serve you from prison time and other types of monetary penalties.