How do you convert a jQuery DOM element to a string you can use in a jQuery selector?

How do you convert a jQuery DOM element to a string you can use in a jQuery selector?

Let's say you have this code:

var element = $('.gaiaElement').closest('#brand_container');

How can you use element to improve the following selector:

$('.main-content');