No, sealants do not protect against all types of cavities. They are most effective in preventing cavities in the back teeth, which are the teeth most prone to decay. Sealants can also help protect against some types of cavities in the front teeth, but they are not as effective as they are in the back teeth.