What are default extended attributes in a document and how do use it in sync gateway sync function

I was wondering what are those extended attributes that i can use in sync function? Do we have list of Xattr (extended attributes)?

I was reading documentation however not enough clarity on extended attributes. It say we can create our own extended attributes? are they available at bucket level or just and particular document level ? how do correlate them with sync gateway?