let s say you have class that allocates some memory when a object is created constructor is in the game when an object is created and deconstructor is called when you finished your job with the object (maybe you want to delete the memory that the object allocates)