The F chord is incredibly useful because it uses a movable barre chord shape that allows you to play any major chord.
Barre chords are movable chord shapes that are endlessly useful on the guitar.
The B major chord is a tough one but learning it will allow you to play major chords all over the guitar neck.
Learning the B minor chord will allow you to play any other minor chord on the guitar.
A minor is a great chord to learn because it’s easy, commonly used, and has (basically) the same fingering as an E major chord.