Bolsonaro wanted to achieve herd immunity by having most Brazilians catch
Covid-19, rather than by vaccinating most Brazilians.
The article errs by using the term "herd immunity" only for the first
option. Both recovery from an infection and vaccination convey the
same sort of immunity; a sufficiently large fraction with immunity from
whatever cause results in herd immunity.
Where they differ is that catching Covid-19 can result in death, or
in lasting disability (perhaps permanent) in a few percent of the
infected people. Vaccination does not do this.
Out of 200 million Brazilians, letting the disease run rampant may
imply a few million dead and a few million disabled on the path to
herd immunity.
This is why it makes sense to use various methods to reduce the fraction
of people that ever catch Covid-19.