Act of a child under seven years of age is defined under section 82 of ipc. Provisions under IPC section 82 explained here:
What is Section 82 IPC:
Nothing is an offence which is done by a child under seven years of age.
Section 82 IPC Explanation:
This section means if a child under 7 years of age does any act, it won’t be an offence. For eg a child of 6 years age while playing with his father’s revolver thinking it of as his toy pulls the trigger and shot neighbour child, this act won’t be an offence for child, as he had no idea of the nature of act.