Yep, give it an initial scrub down to get rid of cigarette smoke residue, which is gross
then let the sun work its bleaching wonders.
I use the sun to remove food stains and odors from glass jar lids. I like to save glass jars but wasn't able to always clean the lids (especially with foods like pickles and spaghetti sauce). But if I leave the lids out for a full day of sun, they are good to go. I can store everything from q-tips to desserts in them without having the contents smell like pickles, spaghetti sauce, etc.