A compiler is a software which converts high level programming language into low level programming language or it coverts the source code into object code which the computer can understand. As we know, the Computer can only understand zeros and ones.