system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How does the Attorney General work?

I have seen a million post recently about how the Attorney General was fired for "Not performing Job Duties". I have also seen a million post about how she was fired for "Not agreeing with the POTUS".

I do not understand what the AG job description is, and if she has to enforce what she is told, or if she has the room to disagree. I am just trying to understand the system we live under. Thanks!
gpt
> "Not performing Job Duties"
> "Not agreeing with the POTUS"

The US Attorney General is the head of the US department of justice.  The DOJ contains several departments and agencies.  First there's law enforcement, this includes the FBI, US marshals, ATF and DEA.  Then there's there's federal prisons.  Next is basically all federal prosecutors.  Federal immigration enforcement is also folded into the DOJ (everything from enforcement, detainment to the legal structures). Lastly federal lawyers who are not prosecutors, such as people who defend the US against lawsuits. 

Like many high end government jobs the AG is said to "serve at the pleasure of the president".  Basically, the job of president is so tremendously large and involves tens of thousands of day to day decisions that is's impossible for one person to perform.  So the president, like the CEO of any large company, delegates job duties. 

The people the president has delegated job duties to are generally known as secretaries (such as the security of state, or defense).  All of these jobs are basically the same, it's to be the delegated right hand to the president for the department that you lead.

Within a normal company, the VP of marketing works for the CEO making marketing decisions.  However, it's the CEO who is "in charge" of the situation. 

Sooooo:
> "Not performing Job Duties"
> "Not agreeing with the POTUS"

These are the same thing.  The job of the AG is to execute the will of the president that they serve.  You are allowed to not agree with the president, but the moment you declare that you're not going to do as instructed you are failing at your job duties.