Under Article 76 of the Constitution of India, the Attorney General of India is appointed by the President and serves as the highest law officer in the country. They provide legal advice to the Union Government and represent it in the Supreme Court. The Chief Justice heads the judiciary rather than acting as the government legal officer.