Made basic demo for transactions in which created a transaction that creates a new Student and assigns it to a Class. If either operation fails, we rollback the transaction to ensure no changes are committed to the database.