28. After examining the various provisions of the Juvenile Justice Act, 2015, it becomes clear that the golden thread underlying the scheme is the rehabilitation of the minor child. In section 36(3) it is provided that after completion of the enquiry the committee is of the opinion that the child has no family or ostensible support or is in continued need of care and protection, it may send the child to specialised adoption agency. Section 37 provides that after the committee declares the child to be in need of care and protection, its primary task is to restore the child to the parent or guardian or family, failing which the minor is to be placed with Children's Home, fit facility, specialized adoption agency etc. Section 38 of the act further provides with regard to the orphaned or abandoned child where the Committee is required to make all efforts for placing such children with their parents or guardians failing which they are declared as child legally free for adoption. Chapter VII is entirely dedicated towards rehabilitation and social reintegration of the children, where it is provided that the restoration and protection of a child shall be the primary objective of any children's home, specialised adoptive agency or orphan shelter. Considering aforesaid provisions contained in the Juvenile Justice Act, 2015 it becomes abundantly clear that the objective of the committee is rehabilitation of the child. When a child is produced before the committee, an enquiry is initiated by the committee. In the said enquiry all the available details regarding the child are gathered. His medical and psychological examination may be conducted, pursuant to which the declaration is required to be made that the child is in need of care and protection, and thereafter in accordance provisions laid down the child can be sent any of the places including children's home, fit institution or for fit person etc.