The antenna here plays a bigger role in the distance of the signal than the radio itself. The antenna should be high above the ground, and if possible as directional as possible. Most vertical antennas (monopoles) are omnidirectional, which means that the signal is radiated close to all sides.
A Yagi antenna enables the signal to be much more directional. If you know the direction of the person you want to talk to, a Yagi is your best bet in this situation.
A few words of commentary on these radiation patterns, because they are not obvious for people who never saw them. The radiation pattern is three dimensional because the world we live in is three dimensional. But pictures are two dimensional. Most radiation pattern charts are a cross section of the real 3D radiation pattern. For the omindirectional antenna (the "whip", it looks like a straight piece of wire) you want the antenna to be pointing up. The antenna radiates the most in directions perpendicular to itself. On that first pattern you can consider that the antenna is aligned like the vertical axis.
Here's how the whip/monopole and dipole antenna patterns looks like in 3D. It looks more less like a doughnut with the antenna wire going through the hole. Nothing goes out in the direction of the wire, everything goes out perpendicularly:

Azimuth plane pattern is the pattern outline seen from above. It tells you which direction the antenna emits in the horizontal plane. Elevation plane patterns tells you which direction the antenna emits in the vertical plane. The maximum in the azimuth plane pattern is everywhere, and in the elevation pattern it's at zero degrees so the antenna emits the strongest in the plane that's parallel to the ground.
And here is how a Yagi directional antenna radiation pattern looks like in 3D:

With the Yagi antenna most of the energy goes out in the direction of the antenna, that is, along these small wire elements called the directors. A small part of the energy goes out the back.
These patterns also show you how sensitive the antenna is in each direction. Here's another picture for the Yagi:
Some more images for different antennas, but most of these are for higher freuqencies like microwave or GSM bands:
https://www.raymaps.com/index.php/some-common-antenna-radiation-patterns/
The thing with antennas is that the frequency they operate on is inversely proportional to their size (it's proportional to the wavelength). The choice of particular antenna types for different bands is down to some being impractically huge or small for the use case.