Railsware interview question

What is constructor in OOP?