I made a simple Arduino project that includes an LED and an active buzzer paired with each other. The LED lights up when the buzzer sounds, creating a alarm type of system. For the Led to work, it must be connected to a digital pin on the Arduino board, and the buzzer must be connected to another digital pin. It cant function if the active buzzer isnt plugged it anywhere based on the code.