"Whoever causes hurt to any person by doing any act so rashly or negligently as to endanger human life, or the personal safety of others, shall be punished with imprisonment of either description for a term which may extend to six months, or with a fine which may extend to five hundred rupees, or with both," states Section 337 of the IPC.
Section 388 of the Indian Penal Code allows for punishment with either imprisonment for two years or a fine of one thousand rupees, or both, in situations of grievous bodily harm.