Firmware is much like a BIOS for the computer, it is software that allows you to control the hardware, as well as it containing bugfixes and performance enhancements.
You load it onto the router using the router interface. You download it in the form of a binary file, and then navigate into the router controls, and upload it.
Official firmware does not void the warranty, third party firmware is not covered by warranty.