With the rise of remote work and the ability to work from anywhere, the line between tourism and work-related travel has become blurred. Some people engage in what is called a "workation," a combination of "work" and "vacation," where they can work remotely while also enjoying the local culture and sights. In this case, they will have a dual purpose of being a tourist and working remotely.
Similarly, some people go on business trips with the purpose of conducting business and meeting with clients or colleagues but also take the opportunity to explore the local area and experience the culture during their free time. This type of travel is known as "bleisure travel," a blend of "business" and "leisure."
In both cases, whether it is a workation or bleisure travel, the person is considered a tourist and subject to the same visa requirements and regulations as any other tourist. They may also have to prove that they have a valid reason to enter the country and are able to support themselves financially while there.