Hi Darshana,
As per your screenshot, it seems like you have used AutoNumber as a datatype for ID attribute. That’s why it is behaving like this, even if your not saving the object also, the value of id will be incremented by 1 becuase it is Autonumber. So to avoid this,you have to change the datatype of ID attribute to integer.
I hope this helps you.