Collections is a wrapper class to work with arrays. Laravel Eloquent queries use a set of the most common functions to return database result.