Sentence: The second stage, referred to as the optimizer, optimizes the code according to the various switches on the compiler set by the programmer .
Entities: entity1: compiler; entity2: programmer
Relationship: Instrument-Agency