ATmega4809 Xplained Pro has two mechanical buttons. Both buttons are connected to I/O-pins on the ATmega4809 and can be used as general purpose buttons in your application. When a button is pressed it will drive the I/O line to GND.
Button SW1 can also be used as a reset button if PF6 is configured as the RESET pin in the ATmega4809. PF6 is configured as a RESET pin by writing fuses, for more information see the ATmega4809 data sheet.