Nowadays mainly in every e-commerce websites, there is a rating option on the product page.
The user can rate the product based on its quality, usefulness, etc.
This rating is helpful for the other user who wants to purchase the product.
There are many jQuery plugins are available to add a rating bar on the page.
In this tutorial, I am using Bootstrap star rating plugin to create rating system in the CodeIgniter project.