Infosys Interview Question

what is optimizer in sql server