Sculpting and painting use brushes to paint directly on meshes.
There are several modes that use this.
Change the topology of the mesh.
Change the color of vertices in the active Color Attribute.
Change the weight of vertices in the active vertex group.
Change the pixels of the active image texture.