What is "Gain-of-Function" research, and why hadn't you heard of it before 2021?

In mid-2021, the world was in the depths of the COVID-19 pandemic, and the US was gripped in a battle of disinformation.