What is the SD on tanning pills?

I see that there are several types being sold. Some are Carotene based, some are more complex.

How do these pills work?