A lawyer is a professional who is licensed to practice law and provide legal advice and representation to clients. Lawyers can specialize in various areas of law, including criminal law, family law, business law, and intellectual property law. They can also work in private practices, law firms, government agencies, or corporations. The primary role of a lawyer is to advise clients on legal matters, represent clients in court, negotiate settlements on their behalf, and draft legal documents such as contracts and pleadings. Lawyers must have a law degree and pass a bar examination in order to practice law in a particular jurisdiction.