The main objective of Section 144 is to prevent the commission of a particular offense or to maintain public order in a specific area. It grants the concerned Magistrate the authority to impose certain restrictions or prohibitions on the assembly of people, carrying of weapons, movement of individuals, and other related activities within a specified area.
Section 188 of the Code of Criminal Procedure (CrPC) is a provision that deals with the disobedience to an order duly promulgated by a public servant. Let me provide you with the text of Section 188: