Laravel Time Difference Between Two Carbon Dates in Hours, Minutes, Seconds

Sometimes there is a need to calculate the difference between two dates or timestamps to get the time difference between in hours, minutes seconds, etc, For this, Carbon library also has functions like diffInHours, diffInMinutes