In this paper, the positive and negative inertia index of trees, unicyclic graphs and bicyclic graphs are discussed, the methods of calculating them are obtained, and an inequality about the difference between positive and negative inertia index is proved. Moreover, a conjecture is proposed.