Explain the consequences of resistance or obstruction to the lawful apprehension of another person according to Indian Penal Code (IPC 1860) Section 225: Resistance or obstruction to lawful apprehension of another person and their relevant Bharatiya Nyaya Sanhita 2023 (BNS 2023) code reference.

{'IPC Section': '225', 'IPC Heading': 'Resistance or obstruction to lawful apprehension of another person', 'IPC Descriptions': ' Indian Penal Code, 1860 
225.
Resistance or obstruction to lawful apprehension of another person
Whoever intentionally
offers any resistance or illegal obstruction to the lawful apprehension of any
other person for an offence, or rescues or attempts to rescue any other person
from any custody in which that person is lawfully detained for an offence,
shall be punished with imprisonment of either description for a term which may
extend to two years, or with fine, or with both;
or, if the person to
be apprehended, or the person rescued or attempted to be rescued, is charged with
or liable to be apprehended for an offence punishable with 104[imprisonment
for life] or imprisonment for a term which may extend to ten years, shall be
punished with imprisonment of either description for a term which may extend to
three years, and shall also be liable to fine;
or, if the person to
be apprehended, or the person attempted to be rescued, is charged with or
liable to be apprehended for an offence punishable with death, shall be
punished with imprisonment of either description for a term which may extend to
seven years, and shall also be liable to fine;
or, if the person to
be apprehended or rescued, or attempted to be rescued, is liable under the
sentence of a Court of Justice, or by virtue of a commutation of such a
sentence, to 104[imprisonment for life] 117[] 118[]
121[] or imprisonment, for a term of ten years or upwards, shall
be punished with imprisonment of either description for a term which may extend
to seven years, and shall also be liable to fine;
or, if the person to be
apprehended or rescued, or attempted to be rescued, is under sentence of death,
shall be punished with 104[imprisonment for life] or imprisonment of
either description for a term not exceeding ten years, and shall also be liable
to fine.', 'BNS Section': '263', 'BNS Heading': 'Resistance or obstruction to lawful apprehension of another person', 'BNS description': 'The Bharatiya Nyaya Sanhita, 2023
263. Resistance or obstruction to lawful apprehension of another person.
Whoever, intentionally offers any resistance or illegal obstruction to the lawful apprehension of any other person for an offence, or rescues or attempts to rescue any other person from any custody in which that person is lawfully detained for an offence,
(a) shall be punished with imprisonment of either description for a term which may extend to two years, or with fine, or with both; or
(b) if the person to be apprehended, or the person rescued or attempted to be rescued, is charged with or liable to be apprehended for an offence punishable with imprisonment for life or imprisonment for a term which may extend to ten years, shall be punished with imprisonment of either description for a term which may extend to three years, and shall also be liable to fine; or
(c) if the person to be apprehended or rescued, or attempted to be rescued, is charged with or liable to be apprehended for an offence punishable with death, shall be punished with imprisonment of either description for a term which may extend to seven years, and shall also be liable to fine; or
(d) if the person to be apprehended or rescued, or attempted to be rescued, is liable under the sentence of a Court or by virtue of a commutation of such a sentence, to imprisonment for life, or imprisonment for a term of ten years or upwards, shall be punished with imprisonment of either description for a term which may extend to seven years, and shall also be liable to fine; or
(e) if the person to be apprehended or rescued, or attempted to be rescued, is under sentence of death, shall be punished with imprisonment for life or imprisonment of either description for a term not exceeding ten years, and shall also be liable to fine.'}