Section 109 of the CrPC deals with taking security for good behaviour from persons who are taking precautions to conceal their presence with a view to committing a cognizable offence, or who have no ostensible means of subsistence. The section empowers an Executive Magistrate to require such a person to execute a bond for their good behaviour for a period not exceeding one year. This is a preventive measure aimed at preventing crime.