I need help understand what constructors and destructors do. I am reading my book and I just can't understand why they are in this program. Here is the code to the program the first set up code is the header file and the second is the cpp file. So what I am asking is what is Cat(int initialAge); doing. and then the constructor of cat.

Code:
#include <iostream>
using namespace std;

//setAge
//getAge
...