A mixer takes two signals and mixes them together. The resulting output is usually both frequencies, plus their sum and their difference. For example, if you feed a 5 MHz signal and a 20 MHz signal, you’d get outputs at 5 MHz, 15 MHz, 20 MHz, and 25 MHz. In a balanced mixer, the original frequencies cancel out, although not all mixers do that or, at least, don’t do it perfectly. [W1GV] has a video that explains the design of a mixer with a dual gate MOSFET, that you can see below.
The dual gate MOSFET is nearly ideal for this application with two separate gates that have effectively infinite input impedance. [Stan] takes you through the basic circuit and explains the operation in whiteboard fashion.