Software engineering is the principles which are used in the development of the software. Software development is a very long, complex process and it's a human oriented activity. This paper discusses the concept of artificial intelligence and how it can be used in software engineering i.e. how artificial intelligence is related to software engineering? Various artificial intelligence techniques are discussed in this paper, which can be used to improve many of the software development activities, with which quality of the software can be increased.