28. A consent is not such a consent as is intended by any section of this Sanhita,-
(a) if the consent is given by a person under fear of injury, or under a misconception of fact, and if the person doing the act knows, or has reason to believe, that the consent was given in consequence of such fear or misconception; or
(b) if the consent is given by a person who, from unsoundness of mind, or intoxication, is unable to understand the nature and consequence of that to which he gives his consent; or
(c) unless the contrary appears from the context, if the consent is given by a person who is under twelve years of age.
Section 21 Act of a child above seven and under twelve years of age of immature understanding
Section 22 Act of a person of unsound mind
Section 23 Act of a person incapable of judgment by reason of intoxication caused against his will
Section 24 Offence requiring a particular intent or knowledge committed by one who is intoxicated
Section 26 Act not intended to cause death, done by consent in good faith for person's benefit
Section 28 Consent known to be given under fear or misconception
Section 29 Exclusion of acts which are offences independently of harm caused
Section 30 Act done in good faith for benefit of a person without consent