Here is an overview of the internal workings of the agency and the roles of various departments