Actually, 15 years back Nofollow attribute was introduced, still the attribute is working.
when it introduced by webmasters, on that time it immediately became one of Google’s recommended approach to the advertising-related or sponsored links.
Last Tuesday, September 10, 2019, Google webmasters officially announced, this is the best time for no-follow to evolve as well. Accordingly, they are announcing two new ways to identify Google Search the nature of particular links.
check from here for more details.