Pregunta de entrevista de Yardi Systems

How does a compiler work?