Railsware Interview Question

What is constructor in OOP?