The NIS2 Directive primarily affects operators of essential services (OES) and digital service providers (DSPs) within the European Union. OES includes entities in sectors such as energy, transport, banking, financial market infrastructures, health, drinking water supply, and digital infrastructure. DSPs cover online marketplaces, search engines, and cloud computing services.