Buttons are simple switch mechanisms for controlling some aspect of a machine or a process. Buttons can be pressed or released. You can always ask the state of a button. You can connect multiple buttons to your microcontroller, but do not forget to add them to your programcode. Buttons use digital pins which are special microcontroller pins with HIGH or LOW states. This depends if the button is pressed or not.

More information