In this class, we have discussed the sessions in PHP. we had done multiple practices with the session by setting the session indexes and getting those indexes on the other pages. Sessions are used to store the user information and then based on that information we can put logic to show the relevant information to the particular users.