Tell me about the punishment for causing hurt.
The punishment for voluntarily causing hurt, covered in Section 323, can include imprisonment for up to one year, a fine up to one thousand rupees, or both. However, there are exceptions outlined in Section 334.