Contrary to what many might think, your attorney, the prosecutor, and judges all work together to some extent, in many situations. They might not agree on everything, but the ultimate goal is to have clear, upfront communication that leads to justice and upholds the law and rights of everyone involved.