The key elements of rioting under Section 147 IPC include the presence of at least three individuals, their common intent to engage in violence, and the use of force or violence that disrupts public peace.