A self-ballasted lamp, also known as an SB lamp, is designed with a built-in ballast, which eliminates the need for an external ballast. The ballast is responsible for regulating the electrical current flowing through the lamp, ensuring that it operates at the correct voltage and frequency.