Newly inserted records in database skipping primary key

I am inserting data from CSV file to database table where column 'id' is my primary key which is auto-incremented. But when I insert data into table it skips some 'id' after the last 'id' created while previous insert. How to get rid of this situation?

  Discussion posts and replies are publicly visible