When you change a bulb when with the power on, it may be dangerous. You can get an electric shock if you touch the socket. Another risk is that the bulb may burst in your hands, and you may injure yourself with the glass pieces.