Constructors are for instantiating an object.The task of constructors is to initialize the data members of the class when an object of class is created. The init() method is called the constructor in Python and is always called when an object is created.