This post shows how to use a relay module with an Arduino board. A relay is an electrically operated switch that you can use to control mains voltage appliances