Preventive detention is distinct from punitive detention; constitutional safeguards under Article 22, particularly clauses (4) and (5), apply, but not all rights applicable to ordinary arrest/detention (like mandatory production before magistrate within 24 hours) are available. The detention order can be challenged in court on various grounds.