The instant disclosure relates to photosensitive capsules (sometimes referred to as “smart capsules”) and sunscreen compositions comprising the capsules that automatically adjust the Sun Protection Factor (“SPF”) of the sunscreen composition during use to provide protection against ultraviolet (“UV”) light, as needed, based on actual exposure to UV light. The photosensitive capsules comprise: (i) a polymeric photosensitive degradable shell and (ii) one or more UV filters encapsulated by the photosensitive degradable shell, wherein the one or more UV filters is released from the photosensitive degradable shell upon exposure to UV light.